From 1523ab9e12fd0000e21fa6dd78e56dc6f3c100d5 Mon Sep 17 00:00:00 2001 From: CromwellEnage <32967088+CromwellEnage@users.noreply.github.com> Date: Sat, 18 May 2019 08:29:22 -0400 Subject: [PATCH 1/2] Update test/Jamfile.v2 * Fix configuration errors * Disable tests that fail on gcc-4.4.7 --- test/Jamfile.v2 | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 6d2dbf0..c025176 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -17,15 +17,14 @@ feature.compose off project : requirements + /boost/serialization /boost/test//boost_unit_test_framework - static - ../../.. msvc:_SCL_SECURE_NO_DEPRECATE # MSVC's iterator debugging causes some tests to run forever. msvc:off intel-win:off - "-Wno-deprecated-declarations" - /boost/serialization + # MSVC's cl throws command line error D8021 : invalid numeric argument +# "-Wno-deprecated-declarations" ; alias accumulators_regular_tests @@ -49,8 +48,6 @@ alias accumulators_regular_tests [ run rolling_count.cpp ] [ run rolling_sum.cpp ] [ run rolling_mean.cpp ] - [ run rolling_variance.cpp ] - [ run rolling_moment.cpp ] [ run skewness.cpp ] [ run sum.cpp ] [ run sum_kahan.cpp ] @@ -71,6 +68,7 @@ alias accumulators_regular_tests [ run weighted_sum.cpp ] [ run weighted_sum_kahan.cpp ] [ run weighted_variance.cpp ] + : static ; alias accumulators_test_valarray @@ -86,7 +84,7 @@ alias accumulators_test_valarray ; alias accumulators_test_valarray - : [ run valarray.cpp ] + : [ run valarray.cpp : : : static ] ; alias accumulators_test_tail_variate_means @@ -96,21 +94,23 @@ alias accumulators_test_tail_variate_means ; alias accumulators_test_tail_variate_means - : [ run tail_variate_means.cpp ] + : [ run tail_variate_means.cpp : : : static ] ; -alias accumulators_tests_pot_quantile_and_weighted_tail +alias accumulators_tests_that_fail_with_gcc4_4 : : linux gcc 4.4.7 ; -alias accumulators_tests_pot_quantile_and_weighted_tail - : [ run pot_quantile.cpp ] - [ run weighted_pot_quantile.cpp ] - [ run weighted_tail_mean.cpp ] - [ run weighted_tail_quantile.cpp ] +alias accumulators_tests_that_fail_with_gcc4_4 + : [ run pot_quantile.cpp : : : static ] + [ run rolling_moment.cpp : : : static ] + [ run rolling_variance.cpp : : : static ] + [ run weighted_pot_quantile.cpp : : : static ] + [ run weighted_tail_mean.cpp : : : static ] + [ run weighted_tail_quantile.cpp : : : static ] ; alias accumulators_test_weighted_tail_variate_means @@ -127,13 +127,13 @@ alias accumulators_test_weighted_tail_variate_means ; alias accumulators_test_weighted_tail_variate_means - : [ run weighted_tail_variate_means.cpp ] + : [ run weighted_tail_variate_means.cpp : : : static ] ; test-suite "accumulators" : accumulators_regular_tests accumulators_test_valarray accumulators_test_tail_variate_means - accumulators_tests_pot_quantile_and_weighted_tail + accumulators_tests_that_fail_with_gcc4_4 accumulators_test_weighted_tail_variate_means ; From 70201228df2d17005a580988431c4ceb31bc25d3 Mon Sep 17 00:00:00 2001 From: CromwellEnage <32967088+CromwellEnage@users.noreply.github.com> Date: Tue, 6 Aug 2019 21:17:52 -0400 Subject: [PATCH 2/2] Update Jamfile & YAML scripts .travis.yml: * Add clang++-6.0 with cxxstd=2a for linux, clang++-7 for linux, and clang++-8 for linux to test matrix. * Change sources to adapt to change in Travis Cl test environment from "trusty" to "xenial". appveyor.yml: * Handle changes in Boost.Build. test/Jamfile.v2: * Enable -Wno-deprecated-declarations for GCC and Clang but not MSVC. --- .travis.yml | 32 +++++++++++++++++++++++--------- appveyor.yml | 10 +++++----- test/Jamfile.v2 | 3 ++- 3 files changed, 30 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2eae862..45c7c99 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ # (See accompanying file LICENSE_1_0.txt or copy at # http://boost.org/LICENSE_1_0.txt) +dist: xenial language: cpp python: "2.7" @@ -190,7 +191,7 @@ matrix: - clang-4.0 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-trusty-4.0 + - llvm-toolchain-xenial-4.0 - os: linux compiler: clang++-5.0 @@ -201,36 +202,49 @@ matrix: - clang-5.0 sources: - ubuntu-toolchain-r-test - - llvm-toolchain-trusty-5.0 + - llvm-toolchain-xenial-5.0 - os: linux compiler: clang++-6.0 - env: TOOLSET=clang COMPILER=clang++-6.0 CXXSTD=03,11,14,1z + env: TOOLSET=clang COMPILER=clang++-6.0 CXXSTD=03,11,14,1z,2a addons: apt: packages: - clang-6.0 + - libc6-dbg + - libc++-dev + - libstdc++-8-dev sources: - ubuntu-toolchain-r-test - - llvm-toolchain-trusty-6.0 + - llvm-toolchain-xenial-6.0 - os: linux - compiler: clang++ - env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z + compiler: clang++-7 + env: TOOLSET=clang COMPILER=clang++-7 CXXSTD=14,1z,2a addons: apt: packages: - - libstdc++-5-dev + - clang-7 + - libc6-dbg + - libc++-dev + - libstdc++-8-dev sources: - ubuntu-toolchain-r-test + - llvm-toolchain-xenial-7 - os: linux - compiler: clang++-libc++ - env: TOOLSET=clang COMPILER=clang++-libc++ CXXSTD=03,11,14,1z + compiler: clang++-8 + env: TOOLSET=clang COMPILER=clang++-8 CXXSTD=14,1z,2a addons: apt: packages: + - clang-8 + - libc6-dbg - libc++-dev + - libstdc++-8-dev + sources: + - ubuntu-toolchain-r-test + - llvm-toolchain-xenial-8 - os: osx env: TOOLSET=clang COMPILER=clang++ CXXSTD=03,11,14,1z diff --git a/appveyor.yml b/appveyor.yml index 71fc5e4..66f77bd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -22,15 +22,15 @@ environment: PATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH% - ARGS: --toolset=gcc address-model=64 cxxflags=-std=gnu++1z PATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH% - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 ARGS: --toolset=msvc-9.0 address-model=32 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 ARGS: --toolset=msvc-10.0 address-model=32 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 ARGS: --toolset=msvc-11.0 address-model=32 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 ARGS: --toolset=msvc-12.0 address-model=32 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 ARGS: --toolset=msvc-12.0 address-model=64 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 ARGS: --toolset=msvc-14.0 address-model=32 diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index c025176..b9c9633 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -24,7 +24,8 @@ project msvc:off intel-win:off # MSVC's cl throws command line error D8021 : invalid numeric argument -# "-Wno-deprecated-declarations" + gcc:"-Wno-deprecated-declarations" + clang:"-Wno-deprecated-declarations" ; alias accumulators_regular_tests