summaryrefslogtreecommitdiff
path: root/external/ios/build_boost.sh
diff options
context:
space:
mode:
authorMateusz Franik <47059999+Im-Beast@users.noreply.github.com>2024-12-19 13:19:33 +0100
committerGitHub <noreply@github.com>2024-12-19 13:19:33 +0100
commit10c0df93ff92c2001ed5aa2b22e5db85ab91242e (patch)
treec08ce2f21126bd956b118aa4908d9a69d79b3e7f /external/ios/build_boost.sh
parent7d8db85942194fc7576d58beb7a4dc65e415a56b (diff)
parent2a38bf29618a8ce163f9d6f83b7ae86924752e32 (diff)
Merge branch 'develop' into tests-other-platforms
Diffstat (limited to 'external/ios/build_boost.sh')
-rwxr-xr-xexternal/ios/build_boost.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/external/ios/build_boost.sh b/external/ios/build_boost.sh
deleted file mode 100755
index 805fbd0..0000000
--- a/external/ios/build_boost.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash
-
-set -e
-
-. ./config.sh
-
-MIN_IOS_VERSION=10.0
-BOOST_DIR_PATH="${EXTERNAL_IOS_SOURCE_DIR}/Apple-Boost-BuildScript"
-BOOST_VERSION=1.84.0
-BOOST_LIBS="random regex graph random chrono thread filesystem system date_time locale serialization program_options"
-
-echo "============================ Boost ============================"
-
-# Check if the directory already exists.
-if [ -d "$BOOST_DIR_PATH" ]; then
- echo "Boost directory already exists."
-else
- echo "Cloning Boost from $BOOST_URL"
- mkdir -p "$BOOST_DIR_PATH" || true
- rm -rf "$BOOST_DIR_PATH" || true
- cp -r "${MONEROC_DIR}/external/Apple-Boost-BuildScript" "$BOOST_DIR_PATH"
-fi
-cd "$BOOST_DIR_PATH"
-
-./boost.sh -ios \
- --min-ios-version ${MIN_IOS_VERSION} \
- --boost-libs "${BOOST_LIBS}" \
- --boost-version ${BOOST_VERSION} \
- --no-framework
-
-cp -r "${BOOST_DIR_PATH}/build/boost/${BOOST_VERSION}"/ios/release/prefix/include/boost "$EXTERNAL_IOS_INCLUDE_DIR/boost"
-cp -r "${BOOST_DIR_PATH}/build/boost/${BOOST_VERSION}"/ios/release/prefix/lib/* "$EXTERNAL_IOS_LIB_DIR/" \ No newline at end of file