summaryrefslogtreecommitdiff
path: root/subprojects/boost-sqlite/tools
diff options
context:
space:
mode:
authorJohn Turner <jturner.usa@gmail.com>2025-09-14 00:16:10 -0400
committerJohn Turner <jturner.usa@gmail.com>2025-09-14 00:16:10 -0400
commit13e0821fd783a1d5083d825af53cf20e8dcbfd76 (patch)
tree1ea363b0f13b3e87d177100e6ae6b9f30a2de1b8 /subprojects/boost-sqlite/tools
parentaa55cb93036a89c64c08e08f4e1de4fa1fd5a775 (diff)
parentefcea3a80da7c4479d5fe168435ecc9fd06bdc72 (diff)
downloadsqlite-kv-bench-13e0821fd783a1d5083d825af53cf20e8dcbfd76.tar.gz
Merge commit 'efcea3a80da7c4479d5fe168435ecc9fd06bdc72' as 'subprojects/boost-sqlite'
Diffstat (limited to 'subprojects/boost-sqlite/tools')
-rwxr-xr-xsubprojects/boost-sqlite/tools/get-boost.sh50
-rw-r--r--subprojects/boost-sqlite/tools/user-config.jam0
2 files changed, 50 insertions, 0 deletions
diff --git a/subprojects/boost-sqlite/tools/get-boost.sh b/subprojects/boost-sqlite/tools/get-boost.sh
new file mode 100755
index 0000000..fb0c8ed
--- /dev/null
+++ b/subprojects/boost-sqlite/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
diff --git a/subprojects/boost-sqlite/tools/user-config.jam b/subprojects/boost-sqlite/tools/user-config.jam
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/subprojects/boost-sqlite/tools/user-config.jam