blob: b5039d5c6ddec4fb31ff06dd07bdb5899305cb6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/usr/bin/env bash
#set -x
set -e
set -o pipefail
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
for formula in $(echo "${BREWS//,/ }"); do
echo "Checking ${formula} formula"
brew outdated "${formula}" \
|| (brew unlink "${formula}"
brew install "${formula}"
)
done
fi
if [ -d "${BOOST_ROOT}" ]; then
echo "Installing boost ${BOOST_VERSION} in ${BOOST_ROOT}"
(cd "${BOOST_ROOT}"
./bootstrap.sh --with-libraries="${BOOST_LIBS}"
./b2 threading=multi --prefix="${BOOST_ROOT}" -d0 install
)
fi
|