blob: 1c0be4001dce87a7a71ef92142a54f700de9dbd0 [file] [log] [blame]
Wludzik, Jozef596a9942021-01-27 12:28:59 +01001#!/bin/bash
2
3set -e
4
5if [[ ! -d boost_1_74_0 ]]; then
Karol Niczyje2c41052021-05-19 10:14:10 +02006 wget https://boostorg.jfrog.io/artifactory/main/release/1.74.0/source/boost_1_74_0.tar.gz
Wludzik, Jozef596a9942021-01-27 12:28:59 +01007 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
Wludzik, Jozef9f145912021-02-11 08:54:10 +010016echo -e "Please, set BOOST_ROOT to $(pwd)/build, e.g.:\n" \
17 "export BOOST_ROOT=$(pwd)/build"