]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/math/tools/Jamfile.v2
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / libs / math / tools / Jamfile.v2
1 # Copyright John Maddock 2010
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 # \math_toolkit\libs\math\test\jamfile.v2
6 # Runs all math toolkit tests, functions & distributions,
7 # and build math examples.
8
9 # bring in the rules for testing
10 import modules ;
11 import path ;
12 import ../../config/checks/config : requires ;
13
14 project
15 : requirements
16 <toolset>gcc:<cxxflags>-Wno-missing-braces
17 <toolset>darwin:<cxxflags>-Wno-missing-braces
18 <toolset>acc:<cxxflags>+W2068,2461,2236,4070,4069
19 <toolset>intel-win:<cxxflags>-nologo
20 <toolset>intel-win:<linkflags>-nologo
21 <toolset>msvc:<warnings>all
22 <toolset>msvc:<asynch-exceptions>on
23 <toolset>msvc:<cxxflags>/wd4996
24 <toolset>msvc:<cxxflags>/wd4512
25 <toolset>msvc:<cxxflags>/wd4610
26 <toolset>msvc:<cxxflags>/wd4510
27 <toolset>msvc:<cxxflags>/wd4127
28 <toolset>msvc:<cxxflags>/wd4701 # needed for lexical cast - temporary.
29 <link>static
30 <toolset>borland:<runtime-link>static
31 <include>../../..
32 <define>BOOST_ALL_NO_LIB=1
33 <define>BOOST_UBLAS_UNSUPPORTED_COMPILER=0
34 <include>.
35 <include>../include_private
36 ;
37
38 lib gmp ;
39 lib mpfr ;
40 lib mpfi ;
41 lib quadmath ;
42
43 exe bessel_data : bessel_data.cpp :
44 [ check-target-builds ../config//is_ci_standalone_run : <build>no ] ;
45 install bessel_data_install : bessel_data : <location>bin ;
46
47 exe ellint_f_data : ellint_f_data.cpp ;
48 install ellint_f_data_install : ellint_f_data : <location>bin ;
49
50 exe heuman_lambda_data : heuman_lambda_data.cpp ;
51 install heuman_lambda_data_install : heuman_lambda_data : <location>bin ;
52
53 exe hyp_2f2_data : hyp_2f2_data.cpp ;
54 install hyp_2f2_data_install : hyp_2f2_data : <location>bin ;
55
56 exe laguerre_data : laguerre_data.cpp ;
57 install laguerre_data_install : laguerre_data : <location>bin ;
58
59 exe bessel_derivative_data : bessel_derivative_data.cpp :
60 [ check-target-builds ../../multiprecision/config//has_gmp : <source>gmp : <build>no ]
61 [ check-target-builds ../../multiprecision/config//has_mpfr : <source>mpfr : <build>no ]
62 [ check-target-builds ../config//is_ci_standalone_run : <build>no ] ;
63 install bessel_derivative_data_install : bessel_derivative_data : <location>bin ;
64
65 exe ellint_k_data : ellint_k_data.cpp ;
66 install ellint_k_data_install : ellint_k_data : <location>bin ;
67
68 exe hyp_0f2_data : hyp_0f2_data.cpp ;
69 install hyp_0f2_data_install : hyp_0f2_data : <location>bin ;
70
71 exe hypergeometric_dist_data : hypergeometric_dist_data.cpp :
72 [ check-target-builds ../config//is_ci_standalone_run : <build>no ]
73 [ requires cxx11_hdr_random ] ;
74 install hypergeometric_dist_data_install : hypergeometric_dist_data : <location>bin ;
75
76 exe legendre_data : legendre_data.cpp :
77 [ check-target-builds ../config//is_ci_standalone_run : <build>no ] ;
78 install legendre_data_install : legendre_data : <location>bin ;
79
80 exe beta_data : beta_data.cpp :
81 [ check-target-builds ../config//is_ci_standalone_run : <build>no ] ;
82 install beta_data_install : beta_data : <location>bin ;
83
84 exe ellint_pi2_data : ellint_pi2_data.cpp ;
85 install ellint_pi2_data_install : ellint_pi2_data : <location>bin ;
86
87 exe hyp_1f1_big_data : hyp_1f1_big_data.cpp :
88 [ check-target-builds ../../multiprecision/config//has_gmp : <source>gmp : <build>no ]
89 [ check-target-builds ../../multiprecision/config//has_mpfr : <source>mpfr : <build>no ]
90 [ check-target-builds ../../multiprecision/config//has_mpfi : <source>gmp <source>mpfr <source>mpfi : <build>no ]
91 [ requires cxx11_decltype ] ;
92 install hyp_1f1_big_data_install : hyp_1f1_big_data : <location>bin ;
93
94 exe ibeta_data : ibeta_data.cpp :
95 [ check-target-builds ../config//is_ci_standalone_run : <build>no ] ;
96 install ibeta_data_install : ibeta_data : <location>bin ;
97
98 exe log1p_expm1_data : log1p_expm1_data.cpp ;
99 install log1p_expm1_data_install : log1p_expm1_data : <location>bin ;
100
101 exe carlson_ellint_data : carlson_ellint_data.cpp ;
102 install carlson_ellint_data_install : carlson_ellint_data : <location>bin ;
103
104 exe ellint_pi3_data : ellint_pi3_data.cpp ;
105 install ellint_pi3_data_install : ellint_pi3_data : <location>bin ;
106
107 exe hyp_1f1_data : hyp_1f1_data.cpp :
108 [ check-target-builds ../../multiprecision/config//has_gmp : <source>gmp : <build>no ]
109 [ check-target-builds ../../multiprecision/config//has_mpfr : <source>mpfr : <build>no ]
110 [ check-target-builds ../../multiprecision/config//has_mpfi : <source>gmp <source>mpfr <source>mpfi : <build>no ]
111 [ requires cxx11_decltype ] ;
112 install hyp_1f1_data_install : hyp_1f1_data : <location>bin ;
113
114 exe ibeta_derivative_data : ibeta_derivative_data.cpp :
115 [ check-target-builds ../config//is_ci_standalone_run : <build>no ] ;
116 install ibeta_derivative_data_install : ibeta_derivative_data : <location>bin ;
117
118 exe sinc_data : sinc_data.cpp ;
119 install sinc_data_install : sinc_data : <location>bin ;
120
121 exe cbrt_data : cbrt_data.cpp ;
122 install cbrt_data_install : cbrt_data : <location>bin ;
123
124 exe erf_data : erf_data.cpp : [ check-target-builds ../../multiprecision/config//has_float128 : <source>quadmath : <build>no ] ;
125 install erf_data_install : erf_data : <location>bin ;
126
127 exe hyp_1f1_log_big_data : hyp_1f1_log_big_data.cpp :
128 [ check-target-builds ../../multiprecision/config//has_gmp : <source>gmp : <build>no ]
129 [ check-target-builds ../../multiprecision/config//has_mpfr : <source>mpfr : <build>no ]
130 [ check-target-builds ../../multiprecision/config//has_mpfi : <source>gmp <source>mpfr <source>mpfi : <build>no ]
131 [ requires cxx11_decltype ] ;
132 install hyp_1f1_log_big_data_install : hyp_1f1_log_big_data : <location>bin ;
133
134 exe ibeta_inv_data : ibeta_inv_data.cpp : [ check-target-builds ../../multiprecision/config//has_float128 : <source>quadmath : <build>no ] ;
135 install ibeta_inv_data_install : ibeta_inv_data : <location>bin ;
136
137 exe spherical_harmonic_data : spherical_harmonic_data.cpp :
138 [ check-target-builds ../config//is_ci_standalone_run : <build>no ] ;
139 install spherical_harmonic_data_install : spherical_harmonic_data : <location>bin ;
140
141 exe digamma_data : digamma_data.cpp : [ check-target-builds ../../multiprecision/config//has_float128 : <source>quadmath : <build>no ] ;
142 install digamma_data_install : digamma_data : <location>bin ;
143
144 exe expint_data : expint_data.cpp ;
145 install expint_data_install : expint_data : <location>bin ;
146
147 exe hyp_1f1_reg_big_data : hyp_1f1_reg_big_data.cpp :
148 [ check-target-builds ../../multiprecision/config//has_gmp : <source>gmp : <build>no ]
149 [ check-target-builds ../../multiprecision/config//has_mpfr : <source>mpfr : <build>no ]
150 [ check-target-builds ../../multiprecision/config//has_mpfi : <source>gmp <source>mpfr <source>mpfi : <build>no ]
151 [ requires cxx11_decltype ] ;
152 install hyp_1f1_reg_big_data_install : hyp_1f1_reg_big_data : <location>bin ;
153
154 exe ibeta_invab_data : ibeta_invab_data.cpp : [ check-target-builds ../../multiprecision/config//has_float128 : <source>quadmath : <build>no ] ;
155 install ibeta_invab_data_install : ibeta_invab_data : <location>bin ;
156
157 exe tgamma_large_data : tgamma_large_data.cpp :
158 [ check-target-builds ../../multiprecision/config//has_gmp : <source>gmp : <build>no ]
159 [ check-target-builds ../../multiprecision/config//has_mpfr : <source>mpfr : <build>no ] ;
160 install tgamma_large_data_install : tgamma_large_data : <location>bin ;
161
162 exe ellint_d_data : ellint_d_data.cpp ;
163 install ellint_d_data_install : ellint_d_data : <location>bin ;
164
165 exe expint_i_data : expint_i_data.cpp ;
166 install expint_i_data_install : expint_i_data : <location>bin ;
167
168 exe hyp_1f2_data : hyp_1f2_data.cpp ;
169 install hyp_1f2_data_install : hyp_1f2_data : <location>bin ;
170
171 exe igamma_data : igamma_data.cpp : [ check-target-builds ../../multiprecision/config//has_float128 : <source>quadmath : <build>no ] ;
172 install igamma_data_install : igamma_data : <location>bin ;
173
174 exe tgamma_ratio_data : tgamma_ratio_data.cpp :
175 [ check-target-builds ../config//is_ci_standalone_run : <build>no ] ;
176 install tgamma_ratio_data_install : tgamma_ratio_data : <location>bin ;
177
178 exe ellint_d2_data : ellint_d2_data.cpp ;
179 install ellint_d2_data_install : ellint_d2_data : <location>bin ;
180
181 exe gamma_P_inva_data : gamma_P_inva_data.cpp : [ check-target-builds ../../multiprecision/config//has_float128 : <source>quadmath : <build>no ] ;
182 install gamma_P_inva_data_install : gamma_P_inva_data : <location>bin ;
183
184 exe hyp_2f0_data : hyp_2f0_data.cpp ;
185 install hyp_2f0_data_install : hyp_2f0_data : <location>bin ;
186
187 exe inv_hyp_data : inv_hyp_data.cpp ;
188 install inv_hyp_data_install : inv_hyp_data : <location>bin ;
189
190 exe trig_data : trig_data.cpp ;
191 install trig_data_install : trig_data : <location>bin ;
192
193 exe ellint_e_data : ellint_e_data.cpp ;
194 install ellint_e_data_install : ellint_e_data : <location>bin ;
195
196 exe hermite_data : hermite_data.cpp ;
197 install hermite_data_install : hermite_data : <location>bin ;
198
199 exe hyp_2f1_data : hyp_2f1_data.cpp ;
200 install hyp_2f1_data_install : hyp_2f1_data : <location>bin ;
201
202 exe jacobi_theta_data : jacobi_theta_data.cpp ;
203 install jacobi_theta_data_install : jacobi_theta_data : <location>bin ;
204
205 exe jacobi_zeta_data : jacobi_zeta_data.cpp ;
206 install jacobi_zeta_data_install : jacobi_zeta_data : <location>bin ;
207
208 exe zeta_data : zeta_data.cpp :
209 [ check-target-builds ../config//is_ci_standalone_run : <build>no ] ;
210 install zeta_data_install : zeta_data : <location>bin ;
211
212 exe generate_test_values : generate_test_values.cpp ;
213 install generate_test_values_install : generate_test_values : <location>bin ;
214
215 exe igamma_temme_large_coef : igamma_temme_large_coef.cpp ;
216 install igamma_temme_large_coef_install : igamma_temme_large_coef : <location>bin ;
217
218 exe lanczos_generator : lanczos_generator.cpp ../../chrono/build//boost_chrono ../../system/build//boost_system :
219 [ check-target-builds ../../multiprecision/config//has_float128 : <source>quadmath : <build>no ]
220 [ requires cxx11_nullptr ] ;
221 install lanczos_generator_install : lanczos_generator : <location>bin ;
222
223 exe factorial_tables : factorial_tables.cpp ;
224 install factorial_tables_install : factorial_tables : <location>bin ;
225
226 exe generate_rational_test : generate_rational_test.cpp ;
227 install generate_rational_test_install : generate_rational_test : <location>bin ;
228
229 #for local source in [ glob *_data.cpp ] generate_test_values.cpp igamma_temme_large_coef.cpp lanczos_generator.cpp factorial_tables.cpp generate_rational_test.cpp
230 #{
231 # exe $(source:B) : $(source) : [ check-target-builds ../../multiprecision/config//has_gmp : <define>HAS_GMP <source>gmp : <build>no ] [ check-target-builds ../../multiprecision/config//has_mpfr : <define>HAS_MPFR <source>mpfr : <build>no ] [ check-target-builds ../../multiprecision/config//has_mpfi : <define>HAS_MPFI <source>gmp <source>mpfr <source>mpfi ] ;
232 # install $(source:B)_bin : $(source:B) : <location>bin ;
233 #}
234
235 exe generate_rational_code : generate_rational_code.cpp ;
236 exe process_perf_results : process_perf_results.cpp ;
237
238 install bin : generate_rational_code process_perf_results ;