]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/math/build/Jamfile.v2
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / math / build / Jamfile.v2
CommitLineData
7c673cae
FG
1# copyright John Maddock 2008
2# Distributed under the Boost Software License, Version 1.0.
3# (See accompanying file LICENSE_1_0.txt or copy at
4# http://www.boost.org/LICENSE_1_0.txt.
5
6import testing ;
7import pch ;
1e59de90 8import ../../config/checks/config : requires ;
7c673cae
FG
9
10project
11 : requirements
12 <toolset>intel-win:<cxxflags>-nologo
13 <toolset>intel-win:<linkflags>-nologo
14 #<toolset>intel-linux:<pch>off
15 <toolset>intel-darwin:<pch>off
16 <toolset>msvc-7.1:<pch>off
17 <toolset>gcc,<target-os>windows:<pch>off
18 #<toolset>gcc:<cxxflags>-fvisibility=hidden
19 <toolset>intel-linux:<cxxflags>-fvisibility=hidden
20 #<toolset>sun:<cxxflags>-xldscope=hidden
21 [ check-target-builds ../config//has_gcc_visibility "gcc visibility" : <toolset>gcc:<cxxflags>-fvisibility=hidden : ]
1e59de90 22 [ requires cxx11_noexcept cxx11_rvalue_references sfinae_expr cxx11_auto_declarations cxx11_lambdas cxx11_unified_initialization_syntax cxx11_hdr_tuple cxx11_hdr_initializer_list cxx11_hdr_chrono cxx11_thread_local cxx11_constexpr cxx11_nullptr cxx11_numeric_limits cxx11_decltype cxx11_hdr_array cxx11_hdr_atomic cxx11_hdr_type_traits cxx11_allocator cxx11_explicit_conversion_operators ]
7c673cae
FG
23 ;
24
25cpp-pch pch : ../src/tr1/pch.hpp : <include>../src/tr1 <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1 ;
26
27C99_SOURCES = acosh
28asinh
29atanh
30cbrt
31copysign
32erfc
33erf
34expm1
35fmax
36fmin
37fpclassify
38hypot
39lgamma
40llround
41log1p
42lround
43nextafter
44nexttoward
45round
46tgamma
47trunc ;
48
49TR1_SOURCES =
50assoc_laguerre
51assoc_legendre
52beta
53comp_ellint_1
54comp_ellint_2
55comp_ellint_3
56cyl_bessel_i
57cyl_bessel_j
58cyl_bessel_k
59cyl_neumann
60ellint_1
61ellint_2
62ellint_3
63expint
64hermite
65laguerre
66legendre
67riemann_zeta
68sph_bessel
69sph_legendre
70sph_neumann
71;
72
73# Configure checks.
74
75import project ;
76import configure ;
77import property ;
78import property-set ;
79import targets ;
80
81obj long_double_check : ../config/has_long_double_support.cpp ;
82explicit long_double_check ;
83
84# Library targets
85lib boost_math_tr1 : ../src/tr1/$(TR1_SOURCES).cpp pch
86 :
87 <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
88 <include>../src/tr1
89 ;
90
91lib boost_math_tr1f : ../src/tr1/$(TR1_SOURCES)f.cpp pch
92 :
93 <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
94 <include>../src/tr1
95 ;
96
97lib boost_math_tr1l : ../src/tr1/$(TR1_SOURCES)l.cpp pch
98 :
99 <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
100 <dependency>../config//has_long_double_support
101 <include>../src/tr1
102 [ check-target-builds ../config//has_long_double_support "long double support" : : <build>no ]
103 ;
104
105lib boost_math_c99 : ../src/tr1/$(C99_SOURCES).cpp pch
106 :
107 <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
108 <include>../src/tr1
109 ;
110
111lib boost_math_c99f : ../src/tr1/$(C99_SOURCES)f.cpp pch
112 :
113 <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
114 <include>../src/tr1
115 ;
116
117lib boost_math_c99l : ../src/tr1/$(C99_SOURCES)l.cpp pch
118 :
119 <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
120 <dependency>../config//has_long_double_support
121 <include>../src/tr1
122 [ check-target-builds ../config//has_long_double_support "long double support" : : <build>no ]
123 ;
124
125boost-install boost_math_c99 boost_math_c99f boost_math_c99l boost_math_tr1 boost_math_tr1f boost_math_tr1l ;