]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/beast/tools/get-boost.sh
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / beast / tools / get-boost.sh
1 #! /bin/sh
2
3 set -e
4
5 build_dir=$2
6
7 branch="master"
8
9 if [ "$1" != "master" -a "$1" != "refs/heads/master" ]; then
10 branch="develop"
11 fi
12
13 echo "BUILD_DIR: $build_dir"
14 echo "BRANCH: $branch"
15
16 git clone -b $branch --depth 1 https://github.com/boostorg/boost.git boost-root
17 cd boost-root
18
19 # Use a reasonably large depth to prevent intermittent update failures due to
20 # commits being on a submodule's master before the superproject is updated.
21 git submodule update --init --depth 20 --jobs 4 \
22 libs/array \
23 libs/headers \
24 tools/build \
25 tools/boost_install \
26 tools/boostdep \
27 libs/align \
28 libs/asio \
29 libs/assert \
30 libs/config \
31 libs/core \
32 libs/endian \
33 libs/filesystem \
34 libs/intrusive \
35 libs/locale \
36 libs/optional \
37 libs/smart_ptr \
38 libs/static_assert \
39 libs/system \
40 libs/throw_exception \
41 libs/type_traits \
42 libs/utility \
43 libs/winapi \
44 libs/algorithm \
45 libs/array \
46 libs/atomic \
47 libs/bind \
48 libs/chrono \
49 libs/concept_check \
50 libs/container \
51 libs/container_hash \
52 libs/context \
53 libs/conversion \
54 libs/coroutine \
55 libs/date_time \
56 libs/detail \
57 libs/exception \
58 libs/function \
59 libs/function_types \
60 libs/functional \
61 libs/fusion \
62 libs/integer \
63 libs/io \
64 libs/iterator \
65 libs/lambda \
66 libs/lexical_cast \
67 libs/logic \
68 libs/math \
69 libs/move \
70 libs/mp11 \
71 libs/mpl \
72 libs/numeric/conversion \
73 libs/pool \
74 libs/predef \
75 libs/preprocessor \
76 libs/random \
77 libs/range \
78 libs/ratio \
79 libs/rational \
80 libs/thread \
81 libs/tuple \
82 libs/type_index \
83 libs/typeof \
84 libs/unordered
85
86 echo Submodule update complete
87
88 rm -rf libs/beast
89 cp -r $build_dir libs/beast