Ticket #12193: 0002-Update-for-pathscale-6.patch

File 0002-Update-for-pathscale-6.patch, 33.5 KB (added by Michał Górny <mgorny@…>, 6 years ago)
  • boost/config/compiler/pathscale.hpp

    From 2ea1a77dac0f799806a4d9392e1b0a5a725097bb Mon Sep 17 00:00:00 2001
    From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
    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 b  
    1212#  define BOOST_COMPILER "PathScale EKOPath C++ Compiler version " __PATHSCALE__
    1313#endif
    1414
    15 #if __PATHCC__ >= 4
     15#if __PATHCC__ >= 6
     16// PathCC is based on clang, and supports the __has_*() builtins used
     17// to detect features in clang.hpp. Since the clang toolset is much
     18// better maintained, it is more convenient to reuse its definitions.
     19#  include "boost/config/compiler/clang.hpp"
     20#elif __PATHCC__ >= 4
    1621#  define BOOST_MSVC6_MEMBER_TEMPLATES
    1722#  define BOOST_HAS_UNISTD_H
    1823#  define BOOST_HAS_STDINT_H
  • libs/chrono/build/Jamfile.v2

    diff --git a/libs/chrono/build/Jamfile.v2 b/libs/chrono/build/Jamfile.v2
    index de9b7db..1e35dfa 100644
    a b project boost/chrono  
    4747        #<toolset>darwin:<cxxflags>-Wno-variadic-macros
    4848        <toolset>darwin-4:<cxxflags>-Wno-variadic-macros
    4949        <toolset>darwin-5:<cxxflags>-Wno-variadic-macros
    50         #<toolset>pathscale:<cxxflags>-Wextra
     50        <toolset>pathscale:<cxxflags>-Wextra
    5151        <toolset>pathscale:<cxxflags>-Wno-long-long
    5252        <toolset>pathscale:<cxxflags>-pedantic
    5353        <toolset>clang:<cxxflags>-Wextra
  • libs/chrono/perf/Jamfile.v2

    diff --git a/libs/chrono/perf/Jamfile.v2 b/libs/chrono/perf/Jamfile.v2
    index 7d6b80e..cdb905f 100644
    a b project  
    2828        <toolset>darwin:<cxxflags>-Wextra
    2929        <toolset>darwin:<cxxflags>-pedantic
    3030        <toolset>darwin:<cxxflags>-Wno-long-long
    31         #<toolset>pathscale:<cxxflags>-Wextra
     31        <toolset>pathscale:<cxxflags>-Wextra
    3232        <toolset>pathscale:<cxxflags>-Wno-long-long
    3333        <toolset>pathscale:<cxxflags>-pedantic
    3434        <toolset>clang:<cxxflags>-Wextra
  • libs/chrono/stopwatches/test/Jamfile.v2

    diff --git a/libs/chrono/stopwatches/test/Jamfile.v2 b/libs/chrono/stopwatches/test/Jamfile.v2
    index f5c31c4..0f4e797 100644
    a b project  
    3232        <toolset>darwin:<cxxflags>-pedantic
    3333        <toolset>darwin:<cxxflags>-Wno-long-long
    3434        <toolset>darwin:<cxxflags>-Wno-variadic-macros
    35         #<toolset>pathscale:<cxxflags>-Wextra
     35        <toolset>pathscale:<cxxflags>-Wextra
    3636        <toolset>pathscale:<cxxflags>-Wno-long-long
    3737        <toolset>pathscale:<cxxflags>-pedantic
    3838        <toolset>clang:<cxxflags>-Wextra
  • libs/chrono/test/Jamfile.v2

    diff --git a/libs/chrono/test/Jamfile.v2 b/libs/chrono/test/Jamfile.v2
    index 3ac259a..87f1851 100644
    a b project  
    3434        <toolset>darwin:<cxxflags>-pedantic
    3535        <toolset>darwin:<cxxflags>-Wno-long-long
    3636        <toolset>darwin:<cxxflags>-Wno-variadic-macros
    37         #<toolset>pathscale:<cxxflags>-Wextra
     37        <toolset>pathscale:<cxxflags>-Wextra
    3838        <toolset>pathscale:<cxxflags>-Wno-long-long
    3939        <toolset>pathscale:<cxxflags>-pedantic
    4040        <toolset>clang:<cxxflags>-Wextra
  • libs/core/test/Jamfile.v2

    diff --git a/libs/core/test/Jamfile.v2 b/libs/core/test/Jamfile.v2
    index ba8a83a..0fe58ac 100644
    a b compile-fail explicit_operator_bool_compile_fail_shift.cpp ;  
    5050compile ignore_unused_test.cpp : <toolset>gcc-4.8:<cxxflags>"-Wunused-variable -Wunused-local-typedefs -Werror"
    5151                                   <toolset>gcc:<cxxflags>"-Wunused-variable -Werror"
    5252                                   <toolset>clang:<cxxflags>"-Wunused-variable -Werror"
     53                                   <toolset>pathscale:<cxxflags>"-Wunused-variable -Werror"
    5354                                   <toolset>msvc:<cxxflags>"/we4100 /we4101" ;
    5455run sp_typeinfo_test.cpp ;
    5556run sp_typeinfo_test.cpp : : : <rtti>off : sp_typeinfo_test_no_rtti ;
  • libs/detail/test/Jamfile

    diff --git a/libs/detail/test/Jamfile b/libs/detail/test/Jamfile
    index 59c0a8d..fce723d 100644
    a b project detail/test  
    1414    <toolset>clang:<cxxflags>-ftemplate-depth-300
    1515    <toolset>gcc:<cxxflags>-ftemplate-depth-300
    1616    <toolset>darwin:<cxxflags>-ftemplate-depth-300
     17    <toolset>pathscale:<cxxflags>-Wno-unused
     18    <toolset>pathscale:<cxxflags>-ftemplate-depth-300
    1719  ;
    1820
    1921for tests in [ glob *.cpp ] {
  • libs/detail/test/container_fwd/Jamfile

    diff --git a/libs/detail/test/container_fwd/Jamfile b/libs/detail/test/container_fwd/Jamfile
    index 1c0906e..1c9ff00 100644
    a b project detail/test/container_fwd  
    1212        <toolset>gcc:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion"
    1313        <toolset>darwin:<cxxflags>"-pedantic -Wstrict-aliasing -fstrict-aliasing -Wextra -Wsign-promo -Wunused-parameter -Wconversion"
    1414        <toolset>clang:<cxxflags>"-pedantic -Wextra -Wmismatched-tags"
     15        <toolset>pathscale:<cxxflags>"-pedantic -Wextra"
    1516        <warnings-as-errors>on
    1617  ;
    1718
  • libs/lexical_cast/test/Jamfile.v2

    diff --git a/libs/lexical_cast/test/Jamfile.v2 b/libs/lexical_cast/test/Jamfile.v2
    index 83d6ad4..f4a9b7f 100644
    a b test-suite conversion  
    3636    [ run lexical_cast_wchars_test.cpp ]
    3737    [ run lexical_cast_float_types_test.cpp ]
    3838    [ run lexical_cast_inf_nan_test.cpp ]
    39     [ run lexical_cast_containers_test.cpp : : : <toolset>gcc:<cxxflags>-Wno-long-long <toolset>clang:<cxxflags>-Wno-long-long ]
     39    [ run lexical_cast_containers_test.cpp : : : <toolset>gcc:<cxxflags>-Wno-long-long <toolset>clang:<cxxflags>-Wno-long-long <toolset>pathscale:<cxxflags>-Wno-long-long ]
    4040    [ run lexical_cast_empty_input_test.cpp ]
    4141    [ run lexical_cast_pointers_test.cpp ]
    4242    [ compile lexical_cast_typedefed_wchar_test.cpp : <toolset>msvc:<nowchar>on ]
    test-suite conversion  
    5050      <toolset>gcc-4.7:<cxxflags>-fno-exceptions
    5151      <toolset>gcc-4.8:<cxxflags>-fno-exceptions
    5252      <toolset>clang:<cxxflags>-fno-exceptions
     53      <toolset>pathscale:<cxxflags>-fno-exceptions
    5354    ]
    5455    [ run lexical_cast_iterator_range_test.cpp ]
    5556    [ run lexical_cast_arrays_test.cpp ]
  • libs/log/build/Jamfile.v2

    diff --git a/libs/log/build/Jamfile.v2 b/libs/log/build/Jamfile.v2
    index df0e026..b34ad01 100644
    a b project boost/log  
    171171        <toolset>darwin:<cxxflags>-ftemplate-depth-1024
    172172        <toolset>clang:<cxxflags>-ftemplate-depth-1024
    173173        <toolset>gcc:<cxxflags>-ftemplate-depth-1024
     174        <toolset>pathscale:<cxxflags>-ftemplate-depth-1024
    174175
    175176        <toolset>gcc:<cxxflags>-fno-strict-aliasing  # avoids strict aliasing violations in other Boost components
    176177        <toolset>gcc,<target-os>windows:<linkflags>-Wl,--enable-auto-import
    project boost/log  
    208209    : usage-requirements
    209210        <toolset>clang:<cxxflags>-Wno-bind-to-temporary-copy
    210211        <toolset>clang:<cxxflags>-Wno-unused-function
     212        <toolset>pathscale:<cxxflags>-Wno-unused-function
    211213    ;
    212214
    213215local BOOST_LOG_COMMON_SRC =
    rule ssse3-targets-cond ( properties * )  
    263265        if $(has_ssse3)
    264266        {
    265267            result = ;
    266             if <toolset>gcc in $(properties) || <toolset>clang in $(properties)
     268            if <toolset>gcc in $(properties) || <toolset>clang in $(properties) || <toolset>pathscale in $(properties)
    267269            {
    268270                result = <cxxflags>"-march=core2 -msse -msse2 -msse3 -mssse3" ;
    269271            }
    rule avx2-targets-cond ( properties * )  
    333335            {
    334336                result = <cxxflags>"-march=core-avx2 -mavx -mavx2" ;
    335337            }
     338            else if <toolset>pathscale in $(properties)
     339            {
     340                result = <cxxflags>"-march=haswell -mavx2" ;
     341            }
    336342            else if <toolset>intel in $(properties)
    337343            {
    338344                if <toolset-intel:platform>win in $(properties)
  • libs/log/config/x86-ext/Jamfile.jam

    diff --git a/libs/log/config/x86-ext/Jamfile.jam b/libs/log/config/x86-ext/Jamfile.jam
    index 976fbab..66c926c 100644
    a b obj ssse3 : ssse3.cpp  
    1717    :
    1818        <toolset>gcc:<cxxflags>"-march=core2 -msse -msse2 -msse3 -mssse3"
    1919        <toolset>clang:<cxxflags>"-march=core2 -msse -msse2 -msse3 -mssse3"
     20        <toolset>pathscale:<cxxflags>"-march=core2 -msse -msse2 -msse3 -mssse3"
    2021        <toolset>intel-linux:<cxxflags>"-march=core2"
    2122        <toolset>intel-darwin:<cxxflags>"-march=core2"
    2223        <toolset>intel-win:<cxxflags>"/QxSSSE3"
    obj avx2 : avx2.cpp  
    2627    :
    2728        <toolset>gcc:<cxxflags>"-march=core-avx2 -mavx -mavx2 -fabi-version=0"
    2829        <toolset>clang:<cxxflags>"-march=core-avx2 -mavx -mavx2"
     30        <toolset>pathscale:<cxxflags>"-march=haswell -mavx2"
    2931        <toolset>intel-linux:<cxxflags>"-march=core-avx2 -fabi-version=0"
    3032        <toolset>intel-darwin:<cxxflags>"-march=core-avx2 -fabi-version=0"
    3133        <toolset>intel-win:<cxxflags>"/arch:CORE-AVX2"
  • libs/numeric/odeint/test/Jamfile.v2

    diff --git a/libs/numeric/odeint/test/Jamfile.v2 b/libs/numeric/odeint/test/Jamfile.v2
    index 502ee41..c65d69f 100644
    a b project  
    2424      <library>/boost//unit_test_framework
    2525      <link>static
    2626      <toolset>clang:<cxxflags>-Wno-unused-variable
     27      <toolset>pathscale:<cxxflags>-Wno-unused-variable
    2728      # <cxxflags>-D_SCL_SECURE_NO_WARNINGS
    2829    ;
    2930
  • libs/numeric/odeint/test/numeric/Jamfile.v2

    diff --git a/libs/numeric/odeint/test/numeric/Jamfile.v2 b/libs/numeric/odeint/test/numeric/Jamfile.v2
    index 1915a32..5518f20 100644
    a b project  
    1717      <include>../../include
    1818      <link>static
    1919      <toolset>clang:<cxxflags>-Wno-unused-variable
     20      <toolset>pathscale:<cxxflags>-Wno-unused-variable
    2021
    2122# <cxxflags>-D_SCL_SECURE_NO_WARNINGS
    2223    ;
  • libs/numeric/odeint/test/regression/Jamfile.v2

    diff --git a/libs/numeric/odeint/test/regression/Jamfile.v2 b/libs/numeric/odeint/test/regression/Jamfile.v2
    index 25bbf0c..58a16fd 100644
    a b project  
    1717      <include>../../include
    1818      <link>static
    1919      <toolset>clang:<cxxflags>-Wno-unused-variable
     20      <toolset>pathscale:<cxxflags>-Wno-unused-variable
    2021
    2122# <cxxflags>-D_SCL_SECURE_NO_WARNINGS
    2223    ;
  • libs/preprocessor/test/Jamfile.v2

    diff --git a/libs/preprocessor/test/Jamfile.v2 b/libs/preprocessor/test/Jamfile.v2
    index 100df3b..33b8c06 100644
    a b project preprocessor_tests : requirements <warnings>on  
    1919
    2020test-suite preprocessor
    2121   :   
    22         [ compile arithmetic.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
    23         [ compile array.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
    24         [ compile comparison.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
    25         [ compile control.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
    26         [ compile debug.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
    27         [ compile facilities.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
    28         [ compile iteration.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
    29         [ compile list.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
    30         [ compile logical.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
    31         [ compile punctuation.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
    32         [ compile repetition.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
    33         [ compile selection.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
    34         [ compile seq.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
    35         [ compile slot.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
    36         [ compile tuple.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
    37         [ compile variadic.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
     22        [ compile arithmetic.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
     23        [ compile array.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
     24        [ compile comparison.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
     25        [ compile control.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
     26        [ compile debug.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
     27        [ compile facilities.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
     28        [ compile iteration.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
     29        [ compile list.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
     30        [ compile logical.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
     31        [ compile punctuation.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
     32        [ compile repetition.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
     33        [ compile selection.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
     34        [ compile seq.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
     35        [ compile slot.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
     36        [ compile tuple.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
     37        [ compile variadic.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
    3838  ;
    3939
    4040test-suite preprocessor_nvm
    test-suite preprocessor_nvm  
    5858test-suite preprocessor_c
    5959   :   
    6060        [ compile arithmetic.c
    61           : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     61          : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    6262          : arithmetic_c
    6363        ]
    6464        [ compile array.c
    65           : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     65          : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    6666          : array_c
    6767        ]
    6868        [ compile comparison.c
    69           : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     69          : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    7070          : comparison_c
    7171        ]
    7272        [ compile control.c
    73           : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     73          : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    7474          : control_c
    7575        ]
    7676        [ compile debug.c
    77           : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     77          : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    7878          : debug_c
    7979        ]
    8080        [ compile facilities.c
    81           : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     81          : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    8282          : facilities_c
    8383        ]
    8484        [ compile list.c
    85           : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     85          : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    8686          : list_c
    8787        ]
    8888        [ compile logical.c
    89           : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     89          : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    9090          : logical_c
    9191        ]
    9292        [ compile punctuation.c
    93           : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     93          : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    9494          : punctuation_c
    9595        ]
    9696        [ compile selection.c
    97           : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     97          : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    9898          : selection_c
    9999        ]
    100100        [ compile seq.c
    101           : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     101          : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    102102          : seq_c
    103103        ]
    104104        [ compile slot.c
    105           : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     105          : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    106106          : slot_c
    107107        ]
    108108        [ compile tuple.c
    109           : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     109          : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    110110          : tuple_c
    111111        ]
    112112        [ compile variadic.c
    113           : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     113          : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    114114          : variadic_c
    115115        ]
    116116  ;
    test-suite preprocessor_c_nvm  
    119119   :   
    120120        [ compile arithmetic.c
    121121          : <define>BOOST_PP_VARIADICS=0
    122             <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     122            <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    123123          : arithmetic_c_nvm
    124124        ]
    125125        [ compile array.c
    126126          : <define>BOOST_PP_VARIADICS=0
    127             <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     127            <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    128128          : array_c_nvm
    129129        ]
    130130        [ compile comparison.c
    131131          : <define>BOOST_PP_VARIADICS=0
    132             <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     132            <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    133133          : comparison_c_nvm
    134134        ]
    135135        [ compile control.c
    136136          : <define>BOOST_PP_VARIADICS=0
    137             <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     137            <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    138138          : control_c_nvm
    139139        ]
    140140        [ compile debug.c
    141141          : <define>BOOST_PP_VARIADICS=0
    142             <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     142            <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    143143          : debug_c_nvm
    144144        ]
    145145        [ compile facilities.c
    146146          : <define>BOOST_PP_VARIADICS=0
    147             <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     147            <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    148148          : facilities_c_nvm
    149149        ]
    150150        [ compile list.c
    151151          : <define>BOOST_PP_VARIADICS=0
    152             <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     152            <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    153153          : list_c_nvm
    154154        ]
    155155        [ compile logical.c
    156156          : <define>BOOST_PP_VARIADICS=0
    157             <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     157            <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    158158          : logical_c_nvm
    159159        ]
    160160        [ compile selection.c
    161161          : <define>BOOST_PP_VARIADICS=0
    162             <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     162            <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    163163          : selection_c_nvm
    164164        ]
    165165        [ compile seq.c
    166166          : <define>BOOST_PP_VARIADICS=0
    167             <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     167            <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    168168          : seq_c_nvm
    169169        ]
    170170        [ compile slot.c
    171171          : <define>BOOST_PP_VARIADICS=0
    172             <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     172            <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    173173          : slot_c_nvm
    174174        ]
    175175        [ compile tuple.c
    176176          : <define>BOOST_PP_VARIADICS=0
    177             <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     177            <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    178178          : tuple_c_nvm
    179179        ]
    180180  ;
    181181 
    182182test-suite preprocessor_isempty
    183183  :   
    184        [ compile isempty.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
    185        [ compile-fail isempty_variadic_standard_failure.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
    186        [ compile-fail isempty_variadic_standard_failure2.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x ]
     184       [ compile isempty.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
     185       [ compile-fail isempty_variadic_standard_failure.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
     186       [ compile-fail isempty_variadic_standard_failure2.cpp : <toolset>gcc:<cxxflags>-std=c++0x <toolset>clang:<cxxflags>-std=c++0x <toolset>pathscale:<cxxflags>-std=c++0x ]
    187187 ;
    188188 
    189189test-suite preprocessor_isempty_nvm
    test-suite preprocessor_isempty_nvm  
    194194test-suite preprocessor_isempty_c
    195195  :   
    196196       [ compile isempty.c
    197          : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     197         : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    198198         : isempty_c
    199199       ]
    200200       [ compile-fail isempty_variadic_standard_failure.c
    201          : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     201         : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    202202         : isempty_variadic_standard_failure_c
    203203       ]
    204204       [ compile-fail isempty_variadic_standard_failure2.c
    205          : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     205         : <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    206206         : isempty_variadic_standard_failure2_c
    207207       ]
    208208 ;
    test-suite preprocessor_isempty_c_nvm  
    211211   :   
    212212        [ compile isempty.c
    213213          : <define>BOOST_PP_VARIADICS=0
    214             <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99
     214            <toolset>gcc:<cflags>-std=c99 <toolset>clang:<cflags>-std=c99 <toolset>pathscale:<cflags>-std=c99
    215215          : isempty_c_nvm
    216216        ]
    217217  ;
  • libs/ratio/test/Jamfile.v2

    diff --git a/libs/ratio/test/Jamfile.v2 b/libs/ratio/test/Jamfile.v2
    index a79ff68..c8047b3 100644
    a b project  
    3838        <toolset>darwin:<cxxflags>-Wextra
    3939        <toolset>darwin:<cxxflags>-Wno-long-long
    4040        <toolset>darwin:<cxxflags>-pedantic
    41         #<toolset>pathscale:<cxxflags>-Wextra
     41        <toolset>pathscale:<cxxflags>-Wextra
    4242        <toolset>pathscale:<cxxflags>-Wno-long-long
    4343        <toolset>pathscale:<cxxflags>-pedantic
    4444        <toolset>clang:<cxxflags>-Wextra
  • libs/serialization/util/test.jam

    diff --git a/libs/serialization/util/test.jam b/libs/serialization/util/test.jam
    index b9e2ae3..33623ac 100644
    a b rule run-template ( test-name : sources * : requirements * ) {  
    4949            <toolset>clang:<cxxflags>"-ftemplate-depth-255"
    5050            <toolset>clang-darwin:<cxxflags>"-ftemplate-depth-255"
    5151            <toolset>darwin:<cxxflags>"-ftemplate-depth-255"
     52            <toolset>pathscale:<cxxflags>"-ftemplate-depth-255"
    5253            <toolset>msvc:<cxxflags>"-Gy"
    5354            $(requirements)
    5455        : # test name
  • libs/spirit/example/x3/Jamfile

    diff --git a/libs/spirit/example/x3/Jamfile b/libs/spirit/example/x3/Jamfile
    index fb00add..9eb5ee5 100644
    a b project spirit-x3-example  
    1313        <toolset>clang:<cxxflags>-ftemplate-depth-512
    1414        <toolset>darwin:<cxxflags>-std=c++1y
    1515        <toolset>darwin:<cxxflags>-ftemplate-depth-512
     16        <toolset>pathscale:<cxxflags>-std=c++1y
     17        <toolset>pathscale:<cxxflags>-ftemplate-depth-512
    1618    :
    1719    :
    1820    ;
  • libs/spirit/example/x3/rexpr/rexpr_full/Jamfile

    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 b project spirit-x3-example-rexpr  
    1414      <toolset>darwin:<cxxflags>-std=c++14
    1515      <toolset>darwin:<cxxflags>-ftemplate-depth-512
    1616      <toolset>darwin:<cxxflags>-ftemplate-depth-512
     17      <toolset>pathscale:<cxxflags>-std=c++1y
     18      <toolset>pathscale:<cxxflags>-ftemplate-depth-512
    1719      <use>/boost//headers
    1820      <include>.
    1921   ;
  • libs/spirit/test/Jamfile

    diff --git a/libs/spirit/test/Jamfile b/libs/spirit/test/Jamfile
    index 6da470c..86dd26e 100644
    a b project spirit_v2x/test  
    2020        <toolset>gcc:<cxxflags>-ftemplate-depth-512
    2121        <toolset>darwin:<cxxflags>-ftemplate-depth-512
    2222        <toolset>clang:<cxxflags>-ftemplate-depth=512
     23        <toolset>pathscale:<cxxflags>-ftemplate-depth=512
    2324    :
    2425    :
    2526    ;
  • libs/spirit/test/x3/Jamfile

    diff --git a/libs/spirit/test/x3/Jamfile b/libs/spirit/test/x3/Jamfile
    index 6e4161e..b63e4ba 100644
    a b project spirit_test  
    2323        <toolset>clang:<cxxflags>-ftemplate-depth-512
    2424        <toolset>darwin:<cxxflags>-std=c++1y
    2525        <toolset>darwin:<cxxflags>-ftemplate-depth-512
     26        <toolset>pathscale:<cxxflags>-std=c++1y
     27        <toolset>pathscale:<cxxflags>-ftemplate-depth-512
    2628    :
    2729    :
    2830    ;
  • libs/thread/build/Jamfile.v2

    diff --git a/libs/thread/build/Jamfile.v2 b/libs/thread/build/Jamfile.v2
    index 6a46030..56d92b7 100644
    a b project boost/thread  
    7878        <toolset>darwin:<cxxflags>-Wunused-function
    7979        <toolset>darwin:<cxxflags>-Wno-unused-parameter
    8080
    81         #<toolset>pathscale:<cxxflags>-Wextra
     81        <toolset>pathscale:<cxxflags>-Wextra
    8282        <toolset>pathscale:<cxxflags>-Wno-long-long
    8383        <toolset>pathscale:<cxxflags>-pedantic
     84        <toolset>pathscale:<cxxflags>-Wunused-function
     85        <toolset>pathscale:<cxxflags>-Wno-unused-parameter
    8486
    8587        <toolset>clang:<warnings>on
    8688        <toolset>clang:<cxxflags>-Wextra
  • libs/thread/test/Jamfile.v2

    diff --git a/libs/thread/test/Jamfile.v2 b/libs/thread/test/Jamfile.v2
    index 6555521..cff9225 100644
    a b project  
    4747        <toolset>darwin:<cxxflags>-Wunused-function
    4848        <toolset>darwin:<cxxflags>-Wno-unused-parameter
    4949
    50         #<toolset>pathscale:<cxxflags>-Wextra
     50        <toolset>pathscale:<cxxflags>-Wextra
    5151        <toolset>pathscale:<cxxflags>-Wno-long-long
    5252        <toolset>pathscale:<cxxflags>-pedantic
     53        <toolset>pathscale:<cxxflags>-Wunused-function
     54        <toolset>pathscale:<cxxflags>-Wno-unused-parameter
    5355
    5456        <toolset>clang:<warnings>on
    5557        <toolset>clang:<cxxflags>-Wextra
  • libs/type_index/test/Jamfile.v2

    diff --git a/libs/type_index/test/Jamfile.v2 b/libs/type_index/test/Jamfile.v2
    index a9f1e85..3b2c8ec 100644
    a b compat = <define>BOOST_TYPE_INDEX_FORCE_NO_RTTI_COMPATIBILITY ;  
    1313
    1414# Making own `nortti` that is link compatible.
    1515# We explicitly define BOOST_NO_RTTI because it sometimes can not be detected by build system.
    16 nortti = <toolset>gcc:"<cxxflags>-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>clang:"<cxxflags>-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>intel:"<cxxflags>-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>darwin:"<cxxflags>-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>msvc:<cxxflags>/GR- ;
     16nortti = <toolset>gcc:"<cxxflags>-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>clang:"<cxxflags>-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>intel:"<cxxflags>-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>darwin:"<cxxflags>-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>pathscale:"<cxxflags>-fno-rtti -DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>msvc:<cxxflags>/GR- ;
    1717
    18 norttidefines = <toolset>gcc:"<cxxflags>-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>clang:"<cxxflags>-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>intel:"<cxxflags>-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>darwin:"<cxxflags>-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>msvc:<cxxflags>-DBOOST_NO_RTTI ;
     18norttidefines = <toolset>gcc:"<cxxflags>-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>clang:"<cxxflags>-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>intel:"<cxxflags>-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>darwin:"<cxxflags>-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>pathscale:"<cxxflags>-DBOOST_NO_RTTI -DBOOST_NO_TYPEID" <toolset>msvc:<cxxflags>-DBOOST_NO_RTTI ;
    1919
    2020
    2121# Making libraries that CANNOT work between rtti-on/rtti-off modules
  • libs/variant/test/Jamfile.v2

    diff --git a/libs/variant/test/Jamfile.v2 b/libs/variant/test/Jamfile.v2
    index 7ce56b5..fa0ea7e 100644
    a b test-suite variant  
    4343      <toolset>gcc-4.7:<cxxflags>-fno-exceptions
    4444      <toolset>gcc-4.8:<cxxflags>-fno-exceptions
    4545      <toolset>clang:<cxxflags>-fno-exceptions
     46      <toolset>pathscale:<cxxflags>-fno-exceptions
    4647      : variant_noexcept_test
    4748    ]
    4849    [ run recursive_variant_test.cpp : : : <rtti>off <define>BOOST_NO_RTTI <define>BOOST_NO_TYPEID : variant_no_rtti_test ]
  • libs/vmd/test/Jamfile.v2

    diff --git a/libs/vmd/test/Jamfile.v2 b/libs/vmd/test/Jamfile.v2
    index 37b2b6a..0c48325 100644
    a b project variadic_macro_data_tests : requirements <warnings>on  
    1818                                                 <toolset>intel-linux:<cxxflags>-std=c++11
    1919                                                 <toolset>clang:<cxxflags>-std=c++11
    2020                                                 <toolset>clang:<cxxflags>-pedantic-errors
     21                                                 <toolset>pathscale:<cxxflags>-std=c++11
     22                                                 <toolset>pathscale:<cxxflags>-pedantic-errors
    2123                                                 <toolset>gcc:<warnings>all
    2224                                                 <toolset>gcc:<cxxflags>-pedantic-errors
    2325                                                 [ predef-check "BOOST_COMP_GNUC >= 4.7.4" : : <cxxflags>-ftrack-macro-expansion=0 ]