File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Copyright 2022 Peter Dimov
4+ # Distributed under the Boost Software License, Version 1.0.
5+ # https://www.boost.org/LICENSE_1_0.txt
6+
7+ set -ex
8+ export PATH=~ /.local/bin:/usr/local/bin:$PATH
9+
10+ DRONE_BUILD_DIR=$( pwd)
11+
12+ BOOST_BRANCH=develop
13+ if [ " $DRONE_BRANCH " = " master" ]; then BOOST_BRANCH=master; fi
14+
15+ cd ..
16+ git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
17+ cd boost-root
18+ git submodule update --init tools/boostdep
19+ cp -r $DRONE_BUILD_DIR /* libs/$LIBRARY
20+ python tools/boostdep/depinst/depinst.py -I examples $LIBRARY
21+ ./bootstrap.sh
22+ ./b2 -d0 headers
23+
24+ echo " using $TOOLSET : : $COMPILER ;" > ~ /user-config.jam
25+ ./b2 -j3 libs/$LIBRARY /test toolset=$TOOLSET cxxstd=$CXXSTD variant=debug,release ${ADDRMD: +address-model=$ADDRMD } ${UBSAN: +undefined-sanitizer=norecover debug-symbols=on} ${ASAN: +address-sanitizer=norecover debug-symbols=on} ${LINKFLAGS: +linkflags=$LINKFLAGS }
You can’t perform that action at this time.
0 commit comments