Micah P. Dombrowski / Feb 01 2020
Compile Boost 1.70.0
BOOST_VERSION="1.70.0"
usver="$(echo $BOOST_VERSION | sed 's/\./_/g')"
file="boost_${usver}.tar.bz2"
url="https://dl.bintray.com/boostorg/release/${BOOST_VERSION}/source/${file}"
cd /tmp
wget -q --show-progress --progress=bar:force $url $url.asc
sha=$(curl -s https://www.boost.org/users/history/version_${usver}.html | \
grep "$file" | sed "s#.*$file</a></td><td>\([[:alnum:]]*\).*#\1#")
echo "$sha $file" > shasum.txt
sha256sum -c shasum.txt
cp $file /results/
3.0s
Build (Bash)
rm -rf boost_*
tar -jxf boost_1_70_0.tar.bz2
27.1s
Build (Bash)
apt-get -qq update
DEBIAN_FRONTEND=noninteractive apt-get install \
icu-devtools libicu60 libiculx60 libicu-dev
14.0s
Build (Bash)
cd boost_*
bash bootstrap.sh -h
0.4s
Build (Bash)
cd boost_*
sh bootstrap.sh --prefix=/opt/boost
12.0s
Build (Bash)
cd boost_*
CPLUS_INCLUDE_PATH="/opt/conda/include/python3.7m" ./b2 -j5
497.7s
Build (Bash)
cd boost_*
./b2 install
76.3s
Build (Bash)
cd /opt/boost
tar -zcf /results/libboost-1.70.0-njinst.tar.gz *
6.7s
Build (Bash)