Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/config/compiler/cray.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 11:12:49 +0100 |
parents | 2665513ce2d3 |
children |
comparison
equal
deleted
inserted
replaced
100:793467b5e61c | 101:c530137014c0 |
---|---|
1 // (C) Copyright John Maddock 2011. | 1 // (C) Copyright John Maddock 2011. |
2 // (C) Copyright Cray, Inc. 2013 | |
2 // Use, modification and distribution are subject to the | 3 // Use, modification and distribution are subject to the |
3 // Boost Software License, Version 1.0. (See accompanying file | 4 // Boost Software License, Version 1.0. (See accompanying file |
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | 5 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
5 | 6 |
6 // See http://www.boost.org for most recent version. | 7 // See http://www.boost.org for most recent version. |
7 | 8 |
8 // Greenhills C compiler setup: | 9 // Greenhills C compiler setup: |
9 | 10 |
10 #define BOOST_COMPILER "Cray C version " BOOST_STRINGIZE(_RELEASE) | 11 #define BOOST_COMPILER "Cray C version " BOOST_STRINGIZE(_RELEASE) |
11 | 12 |
12 #if _RELEASE < 7 | 13 #if _RELEASE < 8 |
13 # error "Boost is not configured for Cray compilers prior to version 7, please try the configure script." | 14 # error "Boost is not configured for Cray compilers prior to version 8, please try the configure script." |
14 #endif | 15 #endif |
15 | 16 |
16 // | 17 // |
17 // Check this is a recent EDG based compiler, otherwise we don't support it here: | 18 // Check this is a recent EDG based compiler, otherwise we don't support it here: |
18 // | 19 // |
20 # error "Unsupported Cray compiler, please try running the configure script." | 21 # error "Unsupported Cray compiler, please try running the configure script." |
21 #endif | 22 #endif |
22 | 23 |
23 #include "boost/config/compiler/common_edg.hpp" | 24 #include "boost/config/compiler/common_edg.hpp" |
24 | 25 |
26 | |
25 // | 27 // |
26 // Cray peculiarities, probably version 7 specific: | |
27 // | 28 // |
28 #undef BOOST_NO_CXX11_AUTO_DECLARATIONS | 29 #define BOOST_NO_CXX11_STATIC_ASSERT |
29 #undef BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS | 30 #define BOOST_NO_CXX11_AUTO_DECLARATIONS |
31 #define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS | |
30 #define BOOST_HAS_NRVO | 32 #define BOOST_HAS_NRVO |
33 #define BOOST_NO_CXX11_VARIADIC_MACROS | |
31 #define BOOST_NO_CXX11_VARIADIC_TEMPLATES | 34 #define BOOST_NO_CXX11_VARIADIC_TEMPLATES |
32 #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX | 35 #define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX |
33 #define BOOST_NO_CXX11_UNICODE_LITERALS | 36 #define BOOST_NO_CXX11_UNICODE_LITERALS |
34 #define BOOST_NO_TWO_PHASE_NAME_LOOKUP | 37 #define BOOST_NO_TWO_PHASE_NAME_LOOKUP |
35 #define BOOST_HAS_NRVO | 38 #define BOOST_HAS_NRVO |
53 #define BOOST_NO_CXX11_CONSTEXPR | 56 #define BOOST_NO_CXX11_CONSTEXPR |
54 #define BOOST_NO_CXX11_USER_DEFINED_LITERALS | 57 #define BOOST_NO_CXX11_USER_DEFINED_LITERALS |
55 #define BOOST_NO_COMPLETE_VALUE_INITIALIZATION | 58 #define BOOST_NO_COMPLETE_VALUE_INITIALIZATION |
56 #define BOOST_NO_CXX11_CHAR32_T | 59 #define BOOST_NO_CXX11_CHAR32_T |
57 #define BOOST_NO_CXX11_CHAR16_T | 60 #define BOOST_NO_CXX11_CHAR16_T |
58 #define BOOST_NO_CXX11_ALIGNAS | 61 #define BOOST_NO_CXX11_REF_QUALIFIERS |
62 #define BOOST_NO_CXX11_FINAL | |
63 | |
64 | |
59 //#define BOOST_BCB_PARTIAL_SPECIALIZATION_BUG | 65 //#define BOOST_BCB_PARTIAL_SPECIALIZATION_BUG |
60 #define BOOST_MATH_DISABLE_STD_FPCLASSIFY | 66 #define BOOST_MATH_DISABLE_STD_FPCLASSIFY |
61 //#define BOOST_HAS_FPCLASSIFY | 67 //#define BOOST_HAS_FPCLASSIFY |
62 | 68 |
63 #define BOOST_SP_USE_PTHREADS | 69 #define BOOST_SP_USE_PTHREADS |
64 #define BOOST_AC_USE_PTHREADS | 70 #define BOOST_AC_USE_PTHREADS |
65 | 71 |
72 /* everything that follows is working around what are thought to be | |
73 * compiler shortcomings. Revist all of these regularly. | |
74 */ | |
75 | |
76 //#define BOOST_USE_ENUM_STATIC_ASSERT | |
77 //#define BOOST_BUGGY_INTEGRAL_CONSTANT_EXPRESSIONS //(this may be implied by the previous #define | |
78 | |
79 // These constants should be provided by the | |
80 // compiler, at least when -hgnu is asserted on the command line. | |
81 | |
82 #ifndef __ATOMIC_RELAXED | |
83 #define __ATOMIC_RELAXED 0 | |
84 #define __ATOMIC_CONSUME 1 | |
85 #define __ATOMIC_ACQUIRE 2 | |
86 #define __ATOMIC_RELEASE 3 | |
87 #define __ATOMIC_ACQ_REL 4 | |
88 #define __ATOMIC_SEQ_CST 5 | |
89 #endif | |
90 | |
91 | |
92 |