From 2ea1a77dac0f799806a4d9392e1b0a5a725097bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 12 Mar 2016 13:33:17 +0100 Subject: [PATCH 2/2] Update for pathscale-6 --- boost/config/compiler/pathscale.hpp | 7 +- libs/chrono/build/Jamfile.v2 | 2 +- libs/chrono/perf/Jamfile.v2 | 2 +- libs/chrono/stopwatches/test/Jamfile.v2 | 2 +- libs/chrono/test/Jamfile.v2 | 2 +- libs/core/test/Jamfile.v2 | 1 + libs/detail/test/Jamfile | 2 + libs/detail/test/container_fwd/Jamfile | 1 + libs/lexical_cast/test/Jamfile.v2 | 3 +- libs/log/build/Jamfile.v2 | 8 +- libs/log/config/x86-ext/Jamfile.jam | 2 + libs/numeric/odeint/test/Jamfile.v2 | 1 + libs/numeric/odeint/test/numeric/Jamfile.v2 | 1 + libs/numeric/odeint/test/regression/Jamfile.v2 | 1 + libs/preprocessor/test/Jamfile.v2 | 98 ++++++++++++------------- libs/ratio/test/Jamfile.v2 | 2 +- libs/serialization/util/test.jam | 1 + libs/spirit/example/x3/Jamfile | 2 + libs/spirit/example/x3/rexpr/rexpr_full/Jamfile | 2 + libs/spirit/test/Jamfile | 1 + libs/spirit/test/x3/Jamfile | 2 + libs/thread/build/Jamfile.v2 | 4 +- libs/thread/test/Jamfile.v2 | 4 +- libs/type_index/test/Jamfile.v2 | 4 +- libs/variant/test/Jamfile.v2 | 1 + libs/vmd/test/Jamfile.v2 | 2 + 26 files changed, 97 insertions(+), 61 deletions(-) diff --git a/boost/config/compiler/pathscale.hpp b/boost/config/compiler/pathscale.hpp index 7c211c4..e73a218 100644 --- a/boost/config/compiler/pathscale.hpp +++ b/boost/config/compiler/pathscale.hpp @@ -12,7 +12,12 @@ # define BOOST_COMPILER "PathScale EKOPath C++ Compiler version " __PATHSCALE__ #endif -#if __PATHCC__ >= 4 +#if __PATHCC__ >= 6 +// PathCC is based on clang, and supports the __has_*() builtins used +// to detect features in clang.hpp. Since the clang toolset is much +// better maintained, it is more convenient to reuse its definitions. +# include "boost/config/compiler/clang.hpp" +#elif __PATHCC__ >= 4 # define BOOST_MSVC6_MEMBER_TEMPLATES # define BOOST_HAS_UNISTD_H # define BOOST_HAS_STDINT_H diff --git a/libs/chrono/build/Jamfile.v2 b/libs/chrono/build/Jamfile.v2 index de9b7db..1e35dfa 100644 --- a/libs/chrono/build/Jamfile.v2 +++ b/libs/chrono/build/Jamfile.v2 @@ -47,7 +47,7 @@ project boost/chrono #darwin:-Wno-variadic-macros darwin-4:-Wno-variadic-macros darwin-5:-Wno-variadic-macros - #pathscale:-Wextra + pathscale:-Wextra pathscale:-Wno-long-long pathscale:-pedantic clang:-Wextra diff --git a/libs/chrono/perf/Jamfile.v2 b/libs/chrono/perf/Jamfile.v2 index 7d6b80e..cdb905f 100644 --- a/libs/chrono/perf/Jamfile.v2 +++ b/libs/chrono/perf/Jamfile.v2 @@ -28,7 +28,7 @@ project darwin:-Wextra darwin:-pedantic darwin:-Wno-long-long - #pathscale:-Wextra + pathscale:-Wextra pathscale:-Wno-long-long pathscale:-pedantic clang:-Wextra diff --git a/libs/chrono/stopwatches/test/Jamfile.v2 b/libs/chrono/stopwatches/test/Jamfile.v2 index f5c31c4..0f4e797 100644 --- a/libs/chrono/stopwatches/test/Jamfile.v2 +++ b/libs/chrono/stopwatches/test/Jamfile.v2 @@ -32,7 +32,7 @@ project darwin:-pedantic darwin:-Wno-long-long darwin:-Wno-variadic-macros - #pathscale:-Wextra + pathscale:-Wextra pathscale:-Wno-long-long pathscale:-pedantic clang:-Wextra diff --git a/libs/chrono/test/Jamfile.v2 b/libs/chrono/test/Jamfile.v2 index 3ac259a..87f1851 100644 --- a/libs/chrono/test/Jamfile.v2 +++ b/libs/chrono/test/Jamfile.v2 @@ -34,7 +34,7 @@ project darwin:-pedantic darwin:-Wno-long-long darwin:-Wno-variadic-macros - #pathscale:-Wextra + pathscale:-Wextra pathscale:-Wno-long-long pathscale:-pedantic clang:-Wextra diff --git a/libs/core/test/Jamfile.v2 b/libs/core/test/Jamfile.v2 index ba8a83a..0fe58ac 100644 --- a/libs/core/test/Jamfile.v2 +++ b/libs/core/test/Jamfile.v2 @@ -50,6 +50,7 @@ compile-fail explicit_operator_bool_compile_fail_shift.cpp ; compile ignore_unused_test.cpp : gcc-4.8:"-Wunused-variable -Wunused-local-typedefs -Werror" gcc:"-Wunused-variable -Werror" clang:"-Wunused-variable -Werror" + pathscale:"-Wunused-variable -Werror" msvc:"/we4100 /we4101" ; run sp_typeinfo_test.cpp ; run sp_typeinfo_test.cpp : : : off : sp_typeinfo_test_no_rtti ; diff --git a/libs/detail/test/Jamfile b/libs/detail/test/Jamfile index 59c0a8d..fce723d 100644 --- a/libs/detail/test/Jamfile +++ b/libs/detail/test/Jamfile @@ -14,6 +14,8 @@ project detail/test clang:-ftemplate-depth-300 gcc:-ftemplate-depth-300 darwin:-ftemplate-depth-300 + pathscale:-Wno-unused + pathscale:-ftemplate-depth-300 ; for tests in [ glob *.cpp ] { diff --git a/libs/detail/test/container_fwd/Jamfile b/libs/detail/test/container_fwd/Jamfile index 1c0906e..1c9ff00 100644 --- a/libs/detail/test/container_fwd/Jamfile +++ b/libs/detail/test/container_fwd/Jamfile @@ -12,6 +12,7 @@ project detail/test/container_fwd gcc:"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion" darwin:"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion" clang:"-pedantic -Wextra -Wmismatched-tags" + pathscale:"-pedantic -Wextra" on ; diff --git a/libs/lexical_cast/test/Jamfile.v2 b/libs/lexical_cast/test/Jamfile.v2 index 83d6ad4..f4a9b7f 100644 --- a/libs/lexical_cast/test/Jamfile.v2 +++ b/libs/lexical_cast/test/Jamfile.v2 @@ -36,7 +36,7 @@ test-suite conversion [ run lexical_cast_wchars_test.cpp ] [ run lexical_cast_float_types_test.cpp ] [ run lexical_cast_inf_nan_test.cpp ] - [ run lexical_cast_containers_test.cpp : : : gcc:-Wno-long-long clang:-Wno-long-long ] + [ run lexical_cast_containers_test.cpp : : : gcc:-Wno-long-long clang:-Wno-long-long pathscale:-Wno-long-long ] [ run lexical_cast_empty_input_test.cpp ] [ run lexical_cast_pointers_test.cpp ] [ compile lexical_cast_typedefed_wchar_test.cpp : msvc:on ] @@ -50,6 +50,7 @@ test-suite conversion gcc-4.7:-fno-exceptions gcc-4.8:-fno-exceptions clang:-fno-exceptions + pathscale:-fno-exceptions ] [ run lexical_cast_iterator_range_test.cpp ] [ run lexical_cast_arrays_test.cpp ] diff --git a/libs/log/build/Jamfile.v2 b/libs/log/build/Jamfile.v2 index df0e026..b34ad01 100644 --- a/libs/log/build/Jamfile.v2 +++ b/libs/log/build/Jamfile.v2 @@ -171,6 +171,7 @@ project boost/log darwin:-ftemplate-depth-1024 clang:-ftemplate-depth-1024 gcc:-ftemplate-depth-1024 + pathscale:-ftemplate-depth-1024 gcc:-fno-strict-aliasing # avoids strict aliasing violations in other Boost components gcc,windows:-Wl,--enable-auto-import @@ -208,6 +209,7 @@ project boost/log : usage-requirements clang:-Wno-bind-to-temporary-copy clang:-Wno-unused-function + pathscale:-Wno-unused-function ; local BOOST_LOG_COMMON_SRC = @@ -263,7 +265,7 @@ rule ssse3-targets-cond ( properties * ) if $(has_ssse3) { result = ; - if gcc in $(properties) || clang in $(properties) + if gcc in $(properties) || clang in $(properties) || pathscale in $(properties) { result = "-march=core2 -msse -msse2 -msse3 -mssse3" ; } @@ -333,6 +335,10 @@ rule avx2-targets-cond ( properties * ) { result = "-march=core-avx2 -mavx -mavx2" ; } + else if pathscale in $(properties) + { + result = "-march=haswell -mavx2" ; + } else if intel in $(properties) { if win in $(properties) diff --git a/libs/log/config/x86-ext/Jamfile.jam b/libs/log/config/x86-ext/Jamfile.jam index 976fbab..66c926c 100644 --- a/libs/log/config/x86-ext/Jamfile.jam +++ b/libs/log/config/x86-ext/Jamfile.jam @@ -17,6 +17,7 @@ obj ssse3 : ssse3.cpp : gcc:"-march=core2 -msse -msse2 -msse3 -mssse3" clang:"-march=core2 -msse -msse2 -msse3 -mssse3" + pathscale:"-march=core2 -msse -msse2 -msse3 -mssse3" intel-linux:"-march=core2" intel-darwin:"-march=core2" intel-win:"/QxSSSE3" @@ -26,6 +27,7 @@ obj avx2 : avx2.cpp : gcc:"-march=core-avx2 -mavx -mavx2 -fabi-version=0" clang:"-march=core-avx2 -mavx -mavx2" + pathscale:"-march=haswell -mavx2" intel-linux:"-march=core-avx2 -fabi-version=0" intel-darwin:"-march=core-avx2 -fabi-version=0" intel-win:"/arch:CORE-AVX2" diff --git a/libs/numeric/odeint/test/Jamfile.v2 b/libs/numeric/odeint/test/Jamfile.v2 index 502ee41..c65d69f 100644 --- a/libs/numeric/odeint/test/Jamfile.v2 +++ b/libs/numeric/odeint/test/Jamfile.v2 @@ -24,6 +24,7 @@ project /boost//unit_test_framework static clang:-Wno-unused-variable + pathscale:-Wno-unused-variable # -D_SCL_SECURE_NO_WARNINGS ; diff --git a/libs/numeric/odeint/test/numeric/Jamfile.v2 b/libs/numeric/odeint/test/numeric/Jamfile.v2 index 1915a32..5518f20 100644 --- a/libs/numeric/odeint/test/numeric/Jamfile.v2 +++ b/libs/numeric/odeint/test/numeric/Jamfile.v2 @@ -17,6 +17,7 @@ project ../../include static clang:-Wno-unused-variable + pathscale:-Wno-unused-variable # -D_SCL_SECURE_NO_WARNINGS ; diff --git a/libs/numeric/odeint/test/regression/Jamfile.v2 b/libs/numeric/odeint/test/regression/Jamfile.v2 index 25bbf0c..58a16fd 100644 --- a/libs/numeric/odeint/test/regression/Jamfile.v2 +++ b/libs/numeric/odeint/test/regression/Jamfile.v2 @@ -17,6 +17,7 @@ project ../../include static clang:-Wno-unused-variable + pathscale:-Wno-unused-variable # -D_SCL_SECURE_NO_WARNINGS ; diff --git a/libs/preprocessor/test/Jamfile.v2 b/libs/preprocessor/test/Jamfile.v2 index 100df3b..33b8c06 100644 --- a/libs/preprocessor/test/Jamfile.v2 +++ b/libs/preprocessor/test/Jamfile.v2 @@ -19,22 +19,22 @@ project preprocessor_tests : requirements on test-suite preprocessor : - [ compile arithmetic.cpp : gcc:-std=c++0x clang:-std=c++0x ] - [ compile array.cpp : gcc:-std=c++0x clang:-std=c++0x ] - [ compile comparison.cpp : gcc:-std=c++0x clang:-std=c++0x ] - [ compile control.cpp : gcc:-std=c++0x clang:-std=c++0x ] - [ compile debug.cpp : gcc:-std=c++0x clang:-std=c++0x ] - [ compile facilities.cpp : gcc:-std=c++0x clang:-std=c++0x ] - [ compile iteration.cpp : gcc:-std=c++0x clang:-std=c++0x ] - [ compile list.cpp : gcc:-std=c++0x clang:-std=c++0x ] - [ compile logical.cpp : gcc:-std=c++0x clang:-std=c++0x ] - [ compile punctuation.cpp : gcc:-std=c++0x clang:-std=c++0x ] - [ compile repetition.cpp : gcc:-std=c++0x clang:-std=c++0x ] - [ compile selection.cpp : gcc:-std=c++0x clang:-std=c++0x ] - [ compile seq.cpp : gcc:-std=c++0x clang:-std=c++0x ] - [ compile slot.cpp : gcc:-std=c++0x clang:-std=c++0x ] - [ compile tuple.cpp : gcc:-std=c++0x clang:-std=c++0x ] - [ compile variadic.cpp : gcc:-std=c++0x clang:-std=c++0x ] + [ compile arithmetic.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] + [ compile array.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] + [ compile comparison.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] + [ compile control.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] + [ compile debug.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] + [ compile facilities.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] + [ compile iteration.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] + [ compile list.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] + [ compile logical.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] + [ compile punctuation.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] + [ compile repetition.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] + [ compile selection.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] + [ compile seq.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] + [ compile slot.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] + [ compile tuple.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] + [ compile variadic.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] ; test-suite preprocessor_nvm @@ -58,59 +58,59 @@ test-suite preprocessor_nvm test-suite preprocessor_c : [ compile arithmetic.c - : gcc:-std=c99 clang:-std=c99 + : gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : arithmetic_c ] [ compile array.c - : gcc:-std=c99 clang:-std=c99 + : gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : array_c ] [ compile comparison.c - : gcc:-std=c99 clang:-std=c99 + : gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : comparison_c ] [ compile control.c - : gcc:-std=c99 clang:-std=c99 + : gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : control_c ] [ compile debug.c - : gcc:-std=c99 clang:-std=c99 + : gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : debug_c ] [ compile facilities.c - : gcc:-std=c99 clang:-std=c99 + : gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : facilities_c ] [ compile list.c - : gcc:-std=c99 clang:-std=c99 + : gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : list_c ] [ compile logical.c - : gcc:-std=c99 clang:-std=c99 + : gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : logical_c ] [ compile punctuation.c - : gcc:-std=c99 clang:-std=c99 + : gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : punctuation_c ] [ compile selection.c - : gcc:-std=c99 clang:-std=c99 + : gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : selection_c ] [ compile seq.c - : gcc:-std=c99 clang:-std=c99 + : gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : seq_c ] [ compile slot.c - : gcc:-std=c99 clang:-std=c99 + : gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : slot_c ] [ compile tuple.c - : gcc:-std=c99 clang:-std=c99 + : gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : tuple_c ] [ compile variadic.c - : gcc:-std=c99 clang:-std=c99 + : gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : variadic_c ] ; @@ -119,71 +119,71 @@ test-suite preprocessor_c_nvm : [ compile arithmetic.c : BOOST_PP_VARIADICS=0 - gcc:-std=c99 clang:-std=c99 + gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : arithmetic_c_nvm ] [ compile array.c : BOOST_PP_VARIADICS=0 - gcc:-std=c99 clang:-std=c99 + gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : array_c_nvm ] [ compile comparison.c : BOOST_PP_VARIADICS=0 - gcc:-std=c99 clang:-std=c99 + gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : comparison_c_nvm ] [ compile control.c : BOOST_PP_VARIADICS=0 - gcc:-std=c99 clang:-std=c99 + gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : control_c_nvm ] [ compile debug.c : BOOST_PP_VARIADICS=0 - gcc:-std=c99 clang:-std=c99 + gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : debug_c_nvm ] [ compile facilities.c : BOOST_PP_VARIADICS=0 - gcc:-std=c99 clang:-std=c99 + gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : facilities_c_nvm ] [ compile list.c : BOOST_PP_VARIADICS=0 - gcc:-std=c99 clang:-std=c99 + gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : list_c_nvm ] [ compile logical.c : BOOST_PP_VARIADICS=0 - gcc:-std=c99 clang:-std=c99 + gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : logical_c_nvm ] [ compile selection.c : BOOST_PP_VARIADICS=0 - gcc:-std=c99 clang:-std=c99 + gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : selection_c_nvm ] [ compile seq.c : BOOST_PP_VARIADICS=0 - gcc:-std=c99 clang:-std=c99 + gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : seq_c_nvm ] [ compile slot.c : BOOST_PP_VARIADICS=0 - gcc:-std=c99 clang:-std=c99 + gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : slot_c_nvm ] [ compile tuple.c : BOOST_PP_VARIADICS=0 - gcc:-std=c99 clang:-std=c99 + gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : tuple_c_nvm ] ; test-suite preprocessor_isempty : - [ compile isempty.cpp : gcc:-std=c++0x clang:-std=c++0x ] - [ compile-fail isempty_variadic_standard_failure.cpp : gcc:-std=c++0x clang:-std=c++0x ] - [ compile-fail isempty_variadic_standard_failure2.cpp : gcc:-std=c++0x clang:-std=c++0x ] + [ compile isempty.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] + [ compile-fail isempty_variadic_standard_failure.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] + [ compile-fail isempty_variadic_standard_failure2.cpp : gcc:-std=c++0x clang:-std=c++0x pathscale:-std=c++0x ] ; test-suite preprocessor_isempty_nvm @@ -194,15 +194,15 @@ test-suite preprocessor_isempty_nvm test-suite preprocessor_isempty_c : [ compile isempty.c - : gcc:-std=c99 clang:-std=c99 + : gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : isempty_c ] [ compile-fail isempty_variadic_standard_failure.c - : gcc:-std=c99 clang:-std=c99 + : gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : isempty_variadic_standard_failure_c ] [ compile-fail isempty_variadic_standard_failure2.c - : gcc:-std=c99 clang:-std=c99 + : gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : isempty_variadic_standard_failure2_c ] ; @@ -211,7 +211,7 @@ test-suite preprocessor_isempty_c_nvm : [ compile isempty.c : BOOST_PP_VARIADICS=0 - gcc:-std=c99 clang:-std=c99 + gcc:-std=c99 clang:-std=c99 pathscale:-std=c99 : isempty_c_nvm ] ; diff --git a/libs/ratio/test/Jamfile.v2 b/libs/ratio/test/Jamfile.v2 index a79ff68..c8047b3 100644 --- a/libs/ratio/test/Jamfile.v2 +++ b/libs/ratio/test/Jamfile.v2 @@ -38,7 +38,7 @@ project darwin:-Wextra darwin:-Wno-long-long darwin:-pedantic - #pathscale:-Wextra + pathscale:-Wextra pathscale:-Wno-long-long pathscale:-pedantic clang:-Wextra diff --git a/libs/serialization/util/test.jam b/libs/serialization/util/test.jam index b9e2ae3..33623ac 100644 --- a/libs/serialization/util/test.jam +++ b/libs/serialization/util/test.jam @@ -49,6 +49,7 @@ rule run-template ( test-name : sources * : requirements * ) { clang:"-ftemplate-depth-255" clang-darwin:"-ftemplate-depth-255" darwin:"-ftemplate-depth-255" + pathscale:"-ftemplate-depth-255" msvc:"-Gy" $(requirements) : # test name diff --git a/libs/spirit/example/x3/Jamfile b/libs/spirit/example/x3/Jamfile index fb00add..9eb5ee5 100644 --- a/libs/spirit/example/x3/Jamfile +++ b/libs/spirit/example/x3/Jamfile @@ -13,6 +13,8 @@ project spirit-x3-example clang:-ftemplate-depth-512 darwin:-std=c++1y darwin:-ftemplate-depth-512 + pathscale:-std=c++1y + pathscale:-ftemplate-depth-512 : : ; diff --git a/libs/spirit/example/x3/rexpr/rexpr_full/Jamfile b/libs/spirit/example/x3/rexpr/rexpr_full/Jamfile index cc91462..dc7e525 100644 --- a/libs/spirit/example/x3/rexpr/rexpr_full/Jamfile +++ b/libs/spirit/example/x3/rexpr/rexpr_full/Jamfile @@ -14,6 +14,8 @@ project spirit-x3-example-rexpr darwin:-std=c++14 darwin:-ftemplate-depth-512 darwin:-ftemplate-depth-512 + pathscale:-std=c++1y + pathscale:-ftemplate-depth-512 /boost//headers . ; diff --git a/libs/spirit/test/Jamfile b/libs/spirit/test/Jamfile index 6da470c..86dd26e 100644 --- a/libs/spirit/test/Jamfile +++ b/libs/spirit/test/Jamfile @@ -20,6 +20,7 @@ project spirit_v2x/test gcc:-ftemplate-depth-512 darwin:-ftemplate-depth-512 clang:-ftemplate-depth=512 + pathscale:-ftemplate-depth=512 : : ; diff --git a/libs/spirit/test/x3/Jamfile b/libs/spirit/test/x3/Jamfile index 6e4161e..b63e4ba 100644 --- a/libs/spirit/test/x3/Jamfile +++ b/libs/spirit/test/x3/Jamfile @@ -23,6 +23,8 @@ project spirit_test clang:-ftemplate-depth-512 darwin:-std=c++1y darwin:-ftemplate-depth-512 + pathscale:-std=c++1y + pathscale:-ftemplate-depth-512 : : ; diff --git a/libs/thread/build/Jamfile.v2 b/libs/thread/build/Jamfile.v2 index 6a46030..56d92b7 100644 --- a/libs/thread/build/Jamfile.v2 +++ b/libs/thread/build/Jamfile.v2 @@ -78,9 +78,11 @@ project boost/thread darwin:-Wunused-function darwin:-Wno-unused-parameter - #pathscale:-Wextra + pathscale:-Wextra pathscale:-Wno-long-long pathscale:-pedantic + pathscale:-Wunused-function + pathscale:-Wno-unused-parameter clang:on clang:-Wextra diff --git a/libs/thread/test/Jamfile.v2 b/libs/thread/test/Jamfile.v2 index 6555521..cff9225 100644 --- a/libs/thread/test/Jamfile.v2 +++ b/libs/thread/test/Jamfile.v2 @@ -47,9 +47,11 @@ project darwin:-Wunused-function darwin:-Wno-unused-parameter - #pathscale:-Wextra + pathscale:-Wextra pathscale:-Wno-long-long pathscale:-pedantic + pathscale:-Wunused-function + pathscale:-Wno-unused-parameter clang:on clang:-Wextra diff --git a/libs/type_index/test/Jamfile.v2 b/libs/type_index/test/Jamfile.v2 index a9f1e85..3b2c8ec 100644 --- a/libs/type_index/test/Jamfile.v2 +++ b/libs/type_index/test/Jamfile.v2 @@ -13,9 +13,9 @@ compat = BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY ; # Making own `nortti` that is link compatible. # We explicitly define BOOST_NO_RTTI because it sometimes can not be detected by build system. -nortti = gcc:"-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" clang:"-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" intel:"-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" darwin:"-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" msvc:/GR- ; +nortti = gcc:"-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" clang:"-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" intel:"-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" darwin:"-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" pathscale:"-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" msvc:/GR- ; -norttidefines = gcc:"-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" clang:"-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" intel:"-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" darwin:"-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" msvc:-DBOOST_NO_RTTI ; +norttidefines = gcc:"-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" clang:"-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" intel:"-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" darwin:"-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" pathscale:"-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" msvc:-DBOOST_NO_RTTI ; # Making libraries that CANNOT work between rtti-on/rtti-off modules diff --git a/libs/variant/test/Jamfile.v2 b/libs/variant/test/Jamfile.v2 index 7ce56b5..fa0ea7e 100644 --- a/libs/variant/test/Jamfile.v2 +++ b/libs/variant/test/Jamfile.v2 @@ -43,6 +43,7 @@ test-suite variant gcc-4.7:-fno-exceptions gcc-4.8:-fno-exceptions clang:-fno-exceptions + pathscale:-fno-exceptions : variant_noexcept_test ] [ run recursive_variant_test.cpp : : : off BOOST_NO_RTTI BOOST_NO_TYPEID : variant_no_rtti_test ] diff --git a/libs/vmd/test/Jamfile.v2 b/libs/vmd/test/Jamfile.v2 index 37b2b6a..0c48325 100644 --- a/libs/vmd/test/Jamfile.v2 +++ b/libs/vmd/test/Jamfile.v2 @@ -18,6 +18,8 @@ project variadic_macro_data_tests : requirements on intel-linux:-std=c++11 clang:-std=c++11 clang:-pedantic-errors + pathscale:-std=c++11 + pathscale:-pedantic-errors gcc:all gcc:-pedantic-errors [ predef-check "BOOST_COMP_GNUC >= 4.7.4" : : -ftrack-macro-expansion=0 ] -- 2.7.3