Merge pull request #317 from cake-tech/build_android_boost_175

build: android: bump Boost to 1.75
This commit is contained in:
mkyq 2022-03-31 21:46:53 +01:00 committed by GitHub
commit 275fc8b831
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View file

@ -1,9 +1,9 @@
#!/bin/sh
. ./config.sh
BOOST_SRC_DIR=$WORKDIR/boost_1_74_0
BOOST_FILENAME=boost_1_74_0.tar.bz2
BOOST_VERSION=1.74.0
BOOST_SRC_DIR=$WORKDIR/boost_1_75_0
BOOST_FILENAME=boost_1_75_0.tar.bz2
BOOST_VERSION=1.75.0
for arch in "aarch" "aarch64" "i686" "x86_64"
do

View file

@ -6,7 +6,7 @@ BOOST_SRC_DIR=$3
BOOST_FILENAME=$4
BOOST_VERSION=$5
BOOST_FILE_PATH=$WORKDIR/$BOOST_FILENAME
BOOST_SHA256="83bfc1507731a0906e387fc28b7ef5417d591429e51e788417fe9ff025e116b1"
BOOST_SHA256="953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb"
if [ ! -e "$BOOST_FILE_PATH" ]; then
curl -L http://downloads.sourceforge.net/project/boost/boost/${BOOST_VERSION}/${BOOST_FILENAME} > $BOOST_FILE_PATH
@ -16,6 +16,7 @@ echo $BOOST_SHA256 $BOOST_FILE_PATH | sha256sum -c - || exit 1
cd $WORKDIR
rm -rf $BOOST_SRC_DIR
rm -rf $PREFIX/include/boost
tar -xvf $BOOST_FILE_PATH -C $WORKDIR
cd $BOOST_SRC_DIR
./bootstrap.sh --prefix=${PREFIX}