1#! /bin/bash 2# 3# Copyright 2017 James E. King III 4# Distributed under the Boost Software License, Version 1.0. 5# (See accompanying file LICENSE_1_0.txt or copy at 6# http://www.boost.org/LICENSE_1_0.txt) 7# 8# Bash script to run in travis to perform a bjam build 9# cwd should be $BOOST_ROOT/libs/$SELF before running 10# 11 12set -ex 13 14# default language level: c++03 15if [[ -z "$CXXSTD" ]]; then 16 CXXSTD=03 17fi 18 19$BOOST_ROOT/b2 . toolset=$TOOLSET cxxstd=$CXXSTD $CXXFLAGS $DEFINES $LINKFLAGS $TESTFLAGS $B2_ADDRESS_MODEL $B2_LINK $B2_THREADING $B2_VARIANT -j3 $* 20