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