libcryfs/vendor/boost/android-build.sh

15 lines
431 B
Bash
Raw Normal View History

2022-06-21 18:38:52 +02:00
#!/bin/sh
BOOST_TAR=boost_1_76_0.tar.bz2
cd Boost-for-Android || exit 1
if [ ! -f $BOOST_TAR ]; then
wget -O $BOOST_TAR https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2 || exit 1
fi
sha256sum -c ../checksum.txt && \
./build-android.sh --boost=1.76.0 --arch=$2 --target-version=21 \
--with-libraries=atomic,chrono,container,date_time,exception,filesystem,serialization,system,thread \
$1