From 0d964fe6fc65dcbd4772f3a3e5a299f5a320989f Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 7 Oct 2016 23:07:34 -0500 Subject: [PATCH 1/4] Add, and update, documentation build targets. --- doc/Jamfile.v2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/Jamfile.v2 b/doc/Jamfile.v2 index 92609ff..22d3eca 100644 --- a/doc/Jamfile.v2 +++ b/doc/Jamfile.v2 @@ -53,4 +53,8 @@ boostbook standalone install pdfinstall : standalone/pdf : . PDF ; explicit pdfinstall ; - +############################################################################### +alias boostdoc ; +explicit boostdoc ; +alias boostrelease : standalone ; +explicit boostrelease ; From 645edc971d7b193e9af38e059a160b5cfeae3988 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Sun, 28 Oct 2018 01:12:49 +0300 Subject: [PATCH 2/4] Added Boost.IO to CI checkout as it's required by Boost.Random. --- .travis.yml | 1 + appveyor.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index f73f33d..73a9ae6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -333,6 +333,7 @@ install: - git submodule update --init libs/move - git submodule update --init libs/functional - git submodule update --init libs/random + - git submodule update --init libs/io - git submodule update --init libs/utility - cp -r $TRAVIS_BUILD_DIR/* libs/integer - ./bootstrap.sh diff --git a/appveyor.yml b/appveyor.yml index 956073a..1bf2bf6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -68,6 +68,7 @@ install: - git submodule update --init libs/move - git submodule update --init libs/functional - git submodule update --init libs/random + - git submodule update --init libs/io - git submodule update --init libs/utility - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\integer - bootstrap From 3961dc2f1e2aa472cadd9bc424e7053aa42e288a Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Sun, 28 Oct 2018 19:11:29 +0300 Subject: [PATCH 3/4] Changed clang 3.9 toolset apt source to Trusty to fix compilation errors. Aggregated multiple C++ versions to CI jobs and added more toolsets. --- .travis.yml | 191 +++++++++++---------------------------------------- appveyor.yml | 1 + 2 files changed, 40 insertions(+), 152 deletions(-) diff --git a/.travis.yml b/.travis.yml index 73a9ae6..1214679 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,10 +28,10 @@ matrix: include: - os: linux - env: TOOLSET=gcc COMPILER=g++ CXXSTD=c++03 + env: TOOLSET=gcc COMPILER=g++ CXXSTD=03 - os: linux - env: TOOLSET=gcc COMPILER=g++-4.7 CXXSTD=c++03 + env: TOOLSET=gcc COMPILER=g++-4.7 CXXSTD=03,11 addons: apt: packages: @@ -40,16 +40,7 @@ matrix: - ubuntu-toolchain-r-test - os: linux - env: TOOLSET=gcc COMPILER=g++-4.7 CXXSTD=c++11 - addons: - apt: - packages: - - g++-4.7 - sources: - - ubuntu-toolchain-r-test - - - os: linux - env: TOOLSET=gcc COMPILER=g++-4.8 CXXSTD=c++03 + env: TOOLSET=gcc COMPILER=g++-4.8 CXXSTD=03,11 addons: apt: packages: @@ -58,16 +49,7 @@ matrix: - ubuntu-toolchain-r-test - os: linux - env: TOOLSET=gcc COMPILER=g++-4.8 CXXSTD=c++11 - addons: - apt: - packages: - - g++-4.8 - sources: - - ubuntu-toolchain-r-test - - - os: linux - env: TOOLSET=gcc COMPILER=g++-4.9 CXXSTD=c++03 + env: TOOLSET=gcc COMPILER=g++-4.9 CXXSTD=03,11 addons: apt: packages: @@ -76,16 +58,7 @@ matrix: - ubuntu-toolchain-r-test - os: linux - env: TOOLSET=gcc COMPILER=g++-4.9 CXXSTD=c++11 - addons: - apt: - packages: - - g++-4.9 - sources: - - ubuntu-toolchain-r-test - - - os: linux - env: TOOLSET=gcc COMPILER=g++-5 CXXSTD=c++03 + env: TOOLSET=gcc COMPILER=g++-5 CXXSTD=03,11,14 addons: apt: packages: @@ -94,25 +67,7 @@ matrix: - ubuntu-toolchain-r-test - os: linux - env: TOOLSET=gcc COMPILER=g++-5 CXXSTD=c++11 - addons: - apt: - packages: - - g++-5 - sources: - - ubuntu-toolchain-r-test - - - os: linux - env: TOOLSET=gcc COMPILER=g++-5 CXXSTD=c++14 - addons: - apt: - packages: - - g++-5 - sources: - - ubuntu-toolchain-r-test - - - os: linux - env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=c++03 + env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=03,11,14,1z addons: apt: packages: @@ -121,40 +76,37 @@ matrix: - ubuntu-toolchain-r-test - os: linux - env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=c++11 + env: TOOLSET=gcc COMPILER=g++-7 CXXSTD=03,11,14,1z addons: apt: packages: - - g++-6 + - g++-7 sources: - ubuntu-toolchain-r-test - os: linux - env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=c++14 + compiler: g++-8 + env: TOOLSET=gcc COMPILER=g++-8 CXXSTD=03,11,14,17 addons: apt: packages: - - g++-6 + - g++-8 sources: - ubuntu-toolchain-r-test - os: linux - env: TOOLSET=gcc COMPILER=g++-6 CXXSTD=c++1z + env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11 + + - os: linux + compiler: clang++-libc++ + env: TOOLSET=clang COMPILER=clang++-libc++ CXXSTD=03,11,14,1z addons: apt: packages: - - g++-6 - sources: - - ubuntu-toolchain-r-test + - libc++-dev - os: linux - env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++03 - - - os: linux - env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++11 - - - os: linux - env: TOOLSET=clang COMPILER=clang++-3.5 CXXSTD=c++03 + env: TOOLSET=clang COMPILER=clang++-3.5 CXXSTD=03,11 addons: apt: packages: @@ -164,17 +116,7 @@ matrix: - llvm-toolchain-precise-3.5 - os: linux - env: TOOLSET=clang COMPILER=clang++-3.5 CXXSTD=c++11 - addons: - apt: - packages: - - clang-3.5 - sources: - - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.5 - - - os: linux - env: TOOLSET=clang COMPILER=clang++-3.6 CXXSTD=c++03 + env: TOOLSET=clang COMPILER=clang++-3.6 CXXSTD=03,11 addons: apt: packages: @@ -184,17 +126,7 @@ matrix: - llvm-toolchain-precise-3.6 - os: linux - env: TOOLSET=clang COMPILER=clang++-3.6 CXXSTD=c++11 - addons: - apt: - packages: - - clang-3.6 - sources: - - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.6 - - - os: linux - env: TOOLSET=clang COMPILER=clang++-3.7 CXXSTD=c++03 + env: TOOLSET=clang COMPILER=clang++-3.7 CXXSTD=03,11 addons: apt: packages: @@ -204,17 +136,7 @@ matrix: - llvm-toolchain-precise-3.7 - os: linux - env: TOOLSET=clang COMPILER=clang++-3.7 CXXSTD=c++11 - addons: - apt: - packages: - - clang-3.7 - sources: - - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.7 - - - os: linux - env: TOOLSET=clang COMPILER=clang++-3.8 CXXSTD=c++03 + env: TOOLSET=clang COMPILER=clang++-3.8 CXXSTD=03,11,14,1z addons: apt: packages: @@ -224,86 +146,50 @@ matrix: - llvm-toolchain-precise-3.8 - os: linux - env: TOOLSET=clang COMPILER=clang++-3.8 CXXSTD=c++11 - addons: - apt: - packages: - - clang-3.8 - sources: - - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.8 - - - os: linux - env: TOOLSET=clang COMPILER=clang++-3.8 CXXSTD=c++14 - addons: - apt: - packages: - - clang-3.8 - sources: - - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.8 - - - os: linux - env: TOOLSET=clang COMPILER=clang++-3.8 CXXSTD=c++1z - addons: - apt: - packages: - - clang-3.8 - sources: - - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.8 - - - os: linux - env: TOOLSET=clang COMPILER=clang++-3.9 CXXSTD=c++03 + env: TOOLSET=clang COMPILER=clang++-3.9 CXXSTD=03,11,14,1z addons: apt: packages: - clang-3.9 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.9 + - llvm-toolchain-trusty-3.9 - os: linux - env: TOOLSET=clang COMPILER=clang++-3.9 CXXSTD=c++11 + compiler: clang++-4.0 + env: TOOLSET=clang COMPILER=clang++-4.0 CXXSTD=03,11,14,1z addons: apt: packages: - - clang-3.9 + - clang-4.0 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.9 + - llvm-toolchain-trusty-4.0 - os: linux - env: TOOLSET=clang COMPILER=clang++-3.9 CXXSTD=c++14 + compiler: clang++-5.0 + env: TOOLSET=clang COMPILER=clang++-5.0 CXXSTD=03,11,14,1z addons: apt: packages: - - clang-3.9 + - clang-5.0 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.9 + - llvm-toolchain-trusty-5.0 - os: linux - env: TOOLSET=clang COMPILER=clang++-3.9 CXXSTD=c++1z + compiler: clang++-6.0 + env: TOOLSET=clang COMPILER=clang++-6.0 CXXSTD=03,11,14,17 addons: apt: packages: - - clang-3.9 + - clang-6.0 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-precise-3.9 + - llvm-toolchain-trusty-6.0 - os: osx - env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++03 - - - os: osx - env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++11 - - - os: osx - env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++14 - - - os: osx - env: TOOLSET=clang COMPILER=clang++ CXXSTD=c++1z + env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z install: - cd .. @@ -330,6 +216,7 @@ install: - git submodule update --init libs/numeric - git submodule update --init libs/array - git submodule update --init libs/container + - git submodule update --init libs/container_hash - git submodule update --init libs/move - git submodule update --init libs/functional - git submodule update --init libs/random @@ -341,8 +228,8 @@ install: script: - |- - echo "using $TOOLSET : : $COMPILER : -std=$CXXSTD ;" > ~/user-config.jam - - ./b2 libs/integer/test toolset=$TOOLSET + echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam + - ./b2 -j3 libs/integer/test toolset=$TOOLSET cxxstd=$CXXSTD notifications: email: diff --git a/appveyor.yml b/appveyor.yml index 1bf2bf6..57ae8f9 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -65,6 +65,7 @@ install: - git submodule update --init libs/numeric - git submodule update --init libs/array - git submodule update --init libs/container + - git submodule update --init libs/container_hash - git submodule update --init libs/move - git submodule update --init libs/functional - git submodule update --init libs/random From b5d5c56e687bd3fd1b499e10e7110479cf8600d9 Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Sun, 28 Oct 2018 19:51:00 +0300 Subject: [PATCH 4/4] Use boostdep to install library dependencies. --- .travis.yml | 27 ++------------------------- appveyor.yml | 27 ++------------------------- 2 files changed, 4 insertions(+), 50 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1214679..899c1ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -195,34 +195,11 @@ install: - cd .. - git clone -b $TRAVIS_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root - cd boost-root + - git submodule update --init tools/boostdep - git submodule update --init tools/build - git submodule update --init libs/config - - git submodule update --init libs/core - - git submodule update --init libs/detail - - git submodule update --init libs/assert - - git submodule update --init libs/static_assert - - git submodule update --init libs/type_traits - - git submodule update --init libs/mpl - - git submodule update --init libs/preprocessor - - git submodule update --init libs/multiprecision - - git submodule update --init libs/math - - git submodule update --init libs/rational - - git submodule update --init libs/throw_exception - - git submodule update --init libs/predef - - git submodule update --init libs/lexical_cast - - git submodule update --init libs/range - - git submodule update --init libs/iterator - - git submodule update --init libs/concept_check - - git submodule update --init libs/numeric - - git submodule update --init libs/array - - git submodule update --init libs/container - - git submodule update --init libs/container_hash - - git submodule update --init libs/move - - git submodule update --init libs/functional - - git submodule update --init libs/random - - git submodule update --init libs/io - - git submodule update --init libs/utility - cp -r $TRAVIS_BUILD_DIR/* libs/integer + - python tools/boostdep/depinst/depinst.py integer - ./bootstrap.sh - ./b2 headers diff --git a/appveyor.yml b/appveyor.yml index 57ae8f9..995ef57 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -44,34 +44,11 @@ install: - cd .. - git clone -b %APPVEYOR_REPO_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root - cd boost-root + - git submodule update --init tools/boostdep - git submodule update --init tools/build - git submodule update --init libs/config - - git submodule update --init libs/core - - git submodule update --init libs/detail - - git submodule update --init libs/assert - - git submodule update --init libs/static_assert - - git submodule update --init libs/type_traits - - git submodule update --init libs/mpl - - git submodule update --init libs/preprocessor - - git submodule update --init libs/multiprecision - - git submodule update --init libs/math - - git submodule update --init libs/rational - - git submodule update --init libs/throw_exception - - git submodule update --init libs/predef - - git submodule update --init libs/lexical_cast - - git submodule update --init libs/range - - git submodule update --init libs/iterator - - git submodule update --init libs/concept_check - - git submodule update --init libs/numeric - - git submodule update --init libs/array - - git submodule update --init libs/container - - git submodule update --init libs/container_hash - - git submodule update --init libs/move - - git submodule update --init libs/functional - - git submodule update --init libs/random - - git submodule update --init libs/io - - git submodule update --init libs/utility - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\integer + - python tools/boostdep/depinst/depinst.py integer - bootstrap - b2 headers