diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-10 11:30:27 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2019-12-10 16:44:54 +0300 |
commit | cf15b237108360ee92f35898e35fa5a52cfc889a (patch) | |
tree | 9c95f527c25b9c14d14018e156a9fad6b286ded3 /.travis/build_boost.sh | |
parent | README: update (diff) | |
download | math-server-cf15b237108360ee92f35898e35fa5a52cfc889a.tar.gz math-server-cf15b237108360ee92f35898e35fa5a52cfc889a.zip |
AppVeyor/Travis: switch to cmake/build
Diffstat (limited to '.travis/build_boost.sh')
-rwxr-xr-x | .travis/build_boost.sh | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/.travis/build_boost.sh b/.travis/build_boost.sh deleted file mode 100755 index 94869ef..0000000 --- a/.travis/build_boost.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/env bash - -set -o errexit -o nounset -o pipefail -o xtrace - -readonly boost_fs="boost_${boost_version//\./_}" -readonly boost_url="https://dl.bintray.com/boostorg/release/$boost_version/source/$boost_fs.tar.gz" -readonly boost_dir="$HOME/$boost_fs" - -address_model=32 -[ "$arch" = x64 ] && address_model=64 -readonly address_model - -clean() { - cd -- "$HOME/" -} - -download() { - trap clean RETURN - wget -- "$boost_url" - tar xzvf "$boost_fs.tar.gz" > /dev/null -} - -bootstrap() { - trap clean RETURN - cd -- "$boost_dir" - ./bootstrap.sh -} - -build() { - trap clean RETURN - cd -- "$boost_dir" - ./b2 \ - "address-model=$address_model" \ - link=static \ - variant="$build_type" \ - "--stagedir=stage/$arch/$build_type" \ - --with-filesystem \ - --with-program_options \ - --with-test -} - -main() { - clean - download - bootstrap - build -} - -main |