mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 04:17:16 +02:00
Add XCode 9.4.1 testing. (#463)
* Add XCode 9.4.1 testing. Refs https://github.com/boostorg/config/issues/462. * Disable nullptr and __int128 support on clang/XCode-9.1. * Correct BOOST_HAS_INT128 undef option. * Stop testing C++17 mode - it's not supported by the std lib.
This commit is contained in:
@ -45,6 +45,7 @@ def main(ctx):
|
||||
linux_cxx("clang++-10 03,11,14,17,20", "clang++-10", packages="clang-10", llvm_os="xenial", llvm_ver="10", buildtype="boost", image="cppalliance/droneubuntu1804:1", environment={'TOOLSET': 'clang', 'COMPILER': 'clang++-10', 'CXXSTD': '03,11,14,17,20', }, globalenv=globalenv),
|
||||
osx_cxx("XCode-11.7 03,11,17,2a", "clang++", packages="", buildtype="boost", xcode_version="11.7", environment={'TOOLSET': 'clang', 'COMPILER': 'clang++', 'CXXSTD': '03,11,14,17,2a', }, globalenv=globalenv),
|
||||
osx_cxx("XCode-10.2 03,11,17,2a", "clang++", packages="", buildtype="boost", xcode_version="10.2", environment={'TOOLSET': 'clang', 'COMPILER': 'clang++', 'CXXSTD': '03,11,14,17,2a', }, globalenv=globalenv),
|
||||
osx_cxx("XCode-9.4.1 03,11,14", "clang++", packages="", buildtype="boost", xcode_version="9.4.1", environment={'TOOLSET': 'clang', 'COMPILER': 'clang++', 'CXXSTD': '03,11,14', }, globalenv=globalenv),
|
||||
]
|
||||
|
||||
# from https://github.com/boostorg/boost-ci
|
||||
|
@ -439,6 +439,13 @@ extern "C" char *gets (char *__s);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(__clang__) && (BOOST_LIBSTDCXX_VERSION < 40300) && !defined(BOOST_NO_CXX11_NULLPTR)
|
||||
# define BOOST_NO_CXX11_NULLPTR
|
||||
#endif
|
||||
#if defined(__clang__) && (BOOST_LIBSTDCXX_VERSION < 40300) && defined(BOOST_HAS_INT128) && defined(__APPLE_CC__)
|
||||
#undef BOOST_HAS_INT128
|
||||
#endif
|
||||
|
||||
//
|
||||
// Headers not present on Solaris with the Oracle compiler:
|
||||
#if defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x5140)
|
||||
|
Reference in New Issue
Block a user