blob: 074e72c64fa43cc5171645d5025128d422b55a96 [file] [log] [blame]
Wludzik, Jozef596a9942021-01-27 12:28:59 +01001#!/bin/bash
2
3set -e
4
5if [[ ! -d boost_1_74_0 ]]; then
6 wget https://dl.bintray.com/boostorg/release/1.74.0/source/boost_1_74_0.tar.gz
7 tar xfz boost_1_74_0.tar.gz
8fi
9
10cd boost_1_74_0
11if [[ ! -d build ]]; then
12 ./bootstrap.sh --with-libraries=coroutine
13 ./b2 install --prefix=build
14fi
15
16echo -e "Please, set BOOST_ROOT to `pwd`/build, e.g.:\n" \
17 "export BOOST_ROOT=`pwd`/build"