From efcea3a80da7c4479d5fe168435ecc9fd06bdc72 Mon Sep 17 00:00:00 2001 From: John Turner Date: Sun, 14 Sep 2025 00:16:10 -0400 Subject: Squashed 'subprojects/boost-sqlite/' content from commit 3378e35 git-subtree-dir: subprojects/boost-sqlite git-subtree-split: 3378e353705271e569cf4ba15c467b840a39798c --- tools/get-boost.sh | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 tools/get-boost.sh (limited to 'tools/get-boost.sh') diff --git a/tools/get-boost.sh b/tools/get-boost.sh new file mode 100755 index 0000000..fb0c8ed --- /dev/null +++ b/tools/get-boost.sh @@ -0,0 +1,50 @@ +#! /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/atomic \ + libs/asio \ + libs/assert \ + libs/config \ + libs/container \ + libs/container_hash \ + libs/core \ + libs/callable_traits \ + libs/describe \ + libs/filesystem \ + libs/intrusive \ + libs/optional \ + libs/system \ + libs/move \ + libs/mp11 \ + libs/variant2 \ + libs/throw_exception \ + libs/json + +echo Submodule update complete + +rm -rf libs/sqlite +cp -r $build_dir libs/sqlite -- cgit v1.2.3