]>
git.proxmox.com Git - ceph.git/blob - ceph/src/Beast/scripts/install-boost.sh
3 # 1) BOOST_ROOT and BOOST_URL are already defined,
4 # and contain valid values.
5 # 2) The last namepart of BOOST_ROOT matches the
6 # folder name internal to boost's .tar.gz
7 # When testing you can force a boost build by clearing travis caches:
8 # https://travis-ci.org/ripple/rippled/caches
10 if [ ! -d "$BOOST_ROOT/lib" ]
12 wget
$BOOST_URL -O /tmp
/boost.
tar.gz
13 cd `dirname $BOOST_ROOT`
15 tar xzf
/tmp
/boost.
tar.gz
17 params
="define=_GLIBCXX_USE_CXX11_ABI=0 \
18 address-model=$ADDRESS_MODEL --with-program_options \
19 --with-system --with-coroutine --with-filesystem"
21 .
/bootstrap.sh
--prefix=$BOOST_ROOT && \
23 .
/b2
-d0 $params install
25 echo "Using cached boost at $BOOST_ROOT"