blob: 074e72c64fa43cc5171645d5025128d422b55a96 [file] [log] [blame]
#!/bin/bash
set -e
if [[ ! -d boost_1_74_0 ]]; then
wget https://dl.bintray.com/boostorg/release/1.74.0/source/boost_1_74_0.tar.gz
tar xfz boost_1_74_0.tar.gz
fi
cd boost_1_74_0
if [[ ! -d build ]]; then
./bootstrap.sh --with-libraries=coroutine
./b2 install --prefix=build
fi
echo -e "Please, set BOOST_ROOT to `pwd`/build, e.g.:\n" \
"export BOOST_ROOT=`pwd`/build"