From 91ac74b8a1570711b78f1ef738d37a5d3dd8d111 Mon Sep 17 00:00:00 2001 From: fuwa Date: Mon, 2 Dec 2019 08:28:22 +0000 Subject: [PATCH] use boost 1.71 --- .../build-external-libs/boost/build.sh | 21 ++++++++++--------- .../build-external-libs/boost/fetch.sh | 6 +++--- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/etc/scripts/build-external-libs/boost/build.sh b/etc/scripts/build-external-libs/boost/build.sh index 60304f9..f5be9ba 100755 --- a/etc/scripts/build-external-libs/boost/build.sh +++ b/etc/scripts/build-external-libs/boost/build.sh @@ -37,7 +37,7 @@ build_root=$BUILD_ROOT src_root=$BUILD_ROOT_SRC name=boost -version=1_68_0 +version=1_71_0 cd $src_root/${name}_${version} @@ -73,10 +73,18 @@ for arch in ${archs[@]}; do CC=clang \ CXX=clang++; \ ./b2 \ - --prefix=${PREFIX} \ - --build-type=minimal \ + cxxstd=14 \ + toolset=clang \ + threading=multi \ + threadapi=pthread \ link=static \ runtime-link=static \ + target-os=android \ + --ignore-site-config \ + --prefix=${PREFIX} \ + --build-dir=android \ + -sICONV_PATH=${ICONV_PATH} \ + --build-type=minimal \ --with-chrono \ --with-date_time \ --with-filesystem \ @@ -86,13 +94,6 @@ for arch in ${archs[@]}; do --with-system \ --with-thread \ --with-locale \ - --build-dir=android \ - --stagedir=android \ - toolset=clang \ - threading=multi \ - threadapi=pthread \ - target-os=android \ - -sICONV_PATH=${ICONV_PATH} \ install \ -j${NPROC} \ ) diff --git a/etc/scripts/build-external-libs/boost/fetch.sh b/etc/scripts/build-external-libs/boost/fetch.sh index f2cccec..7e2e3c2 100755 --- a/etc/scripts/build-external-libs/boost/fetch.sh +++ b/etc/scripts/build-external-libs/boost/fetch.sh @@ -36,9 +36,9 @@ source etc/scripts/build-external-libs/env.sh cd $BUILD_ROOT_SRC name=boost -version=1_68_0 -dot_version=1.68.0 -hash=7f6130bc3cf65f56a618888ce9d5ea704fa10b462be126ad053e80e553d6d8b7 +version=1_71_0 +dot_version=1.71.0 +hash=d73a8da01e8bf8c7eda40b4c84915071a8c8a0df4a6734537ddde4a8580524ee rm -rf ${name}_${version}