osrm-backend/test/cpp11_install.sh
Patrick Niklaus f8dd965435 Squashed 'third_party/mason/' content from commit cf3561b
git-subtree-dir: third_party/mason
git-subtree-split: cf3561bf78cb146821dba3d95c308fc44db05f46
2016-12-15 10:31:15 +00:00

22 lines
426 B
Bash
Executable File

#!/usr/bin/env bash
set -e -u
set -o pipefail
./mason install boost_libregex 1.57.0
./mason link boost_libregex 1.57.0
failure=0
if [[ ! -f mason_packages/.link/lib/libboost_regex.a ]]; then
echo "could not find expected lib/libboost_regex.a"
failure=1
fi
if [[ ! -L mason_packages/.link/lib/libboost_regex.a ]]; then
echo "lib/libboost_regex.a is not a symlink like expected"
failure=1
fi
exit $failure