diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:24:20 +0000 |
commit | 483eb2f56657e8e7f419ab1a4fab8dce9ade8609 (patch) | |
tree | e5d88d25d870d5dedacb6bbdbe2a966086a0a5cf /src/boost/libs/beast/tools/get-boost.sh | |
parent | Initial commit. (diff) | |
download | ceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.tar.xz ceph-483eb2f56657e8e7f419ab1a4fab8dce9ade8609.zip |
Adding upstream version 14.2.21.upstream/14.2.21upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/boost/libs/beast/tools/get-boost.sh')
-rwxr-xr-x | src/boost/libs/beast/tools/get-boost.sh | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/src/boost/libs/beast/tools/get-boost.sh b/src/boost/libs/beast/tools/get-boost.sh new file mode 100755 index 00000000..c614a486 --- /dev/null +++ b/src/boost/libs/beast/tools/get-boost.sh @@ -0,0 +1,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 |