]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/math/example/Jamfile.v2
bump version to 18.2.4-pve3
[ceph.git] / ceph / src / boost / libs / math / example / Jamfile.v2
CommitLineData
7c673cae
FG
1# \libs\math\example\jamfile.v2
2# Runs statistics and floating-point examples.
3# Copyright 2007 John Maddock
4# Copyright Paul A. Bristow 2007, 2010, 2011.
5# Distributed under the Boost Software License, Version 1.0.
6# (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7
8# bring in the rules for testing
9import testing ;
b32b8144 10import ../../config/checks/config : requires ;
7c673cae
FG
11
12project
13 : requirements
14 <toolset>gcc:<cxxflags>-Wno-missing-braces
15 <toolset>darwin:<cxxflags>-Wno-missing-braces
16 <toolset>acc:<cxxflags>+W2068,2461,2236,4070
17 <toolset>intel:<cxxflags>-Qwd264,239
18 <toolset>msvc:<warnings>all
19 <toolset>msvc:<asynch-exceptions>on
92f5a8d4
TL
20 <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
21 <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
22 <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
23 <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
7c673cae
FG
24 <toolset>msvc:<cxxflags>/wd4996
25 <toolset>msvc:<cxxflags>/wd4512
26 <toolset>msvc:<cxxflags>/wd4610
27 <toolset>msvc:<cxxflags>/wd4510
28 <toolset>msvc:<cxxflags>/wd4127
29 <toolset>msvc:<cxxflags>/wd4701
30 <toolset>msvc:<cxxflags>/wd4127
31 <toolset>msvc:<cxxflags>/wd4305
32 <toolset>msvc:<cxxflags>/wd4459
92f5a8d4 33 <toolset>msvc:<cxxflags>/wd4456 # declaration of hides previous local declaration.
7c673cae
FG
34 #-<toolset>msvc:<cxxflags>/Za # nonfinite Serialization examples fail link if disable MS extensions,
35 # because serialization library is built with MS extensions enabled (default).
92f5a8d4
TL
36 <toolset>clang:<cxxflags>-Wno-unknown-pragmas
37 <toolset>clang:<cxxflags>-Wno-language-extension-token
38
7c673cae
FG
39 <include>../../..
40 <include>../include_private
41 <exception-handling>off:<source>../test//no_eh
1e59de90 42 [ 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 43 ;
11fdf7f2 44
b32b8144 45test-suite examples :
1e59de90 46 [ run bessel_zeros_example_1.cpp : : : [ check-target-builds ../config//is_ci_standalone_run "Standalone CI run" : <build>no ] <exception-handling>off:<build>no ]
b32b8144 47 [ run bessel_zeros_interator_example.cpp : : : <exception-handling>off:<build>no ]
1e59de90 48 [ run neumann_zeros_example_1.cpp : : : [ check-target-builds ../config//is_ci_standalone_run "Standalone CI run" : <build>no ] <exception-handling>off:<build>no ]
7c673cae 49
b32b8144
FG
50 [ run test_cpp_float_close_fraction.cpp ../../test/build//boost_unit_test_framework/<link>static : : : <exception-handling>off:<build>no ]
51 [ run binomial_coinflip_example.cpp : : : <exception-handling>off:<build>no ]
52 [ run binomial_confidence_limits.cpp ]
53 [ run binomial_example_nag.cpp ]
54 [ run binomial_quiz_example.cpp : : : <exception-handling>off:<build>no ]
55 [ run binomial_sample_sizes.cpp ]
92f5a8d4
TL
56 [ run brent_minimise_example.cpp : : : [ requires cxx11_hdr_tuple ] ]
57
b32b8144
FG
58 [ run c_error_policy_example.cpp ]
59 [ run chi_square_std_dev_test.cpp : : : <exception-handling>off:<build>no ]
60 [ run distribution_construction.cpp : : : <exception-handling>off:<build>no ]
61 [ run error_handling_example.cpp : : : <exception-handling>off:<build>no ]
62 [ run error_policies_example.cpp ]
63 [ run error_policy_example.cpp : : : <exception-handling>off:<build>no ]
64 [ run f_test.cpp ]
92f5a8d4
TL
65 # [ run fft_sines_table.cpp : : : [ requires cxx11_numeric_limits ] ]
66 # No need to re-run this routinely as it only creates a table of sines for a documentation example.
67
b32b8144
FG
68 [ run find_location_example.cpp : : : <exception-handling>off:<build>no ]
69 [ run find_mean_and_sd_normal.cpp : : : <exception-handling>off:<build>no ]
70 [ run find_root_example.cpp : : : <exception-handling>off:<build>no ]
71 [ run find_scale_example.cpp : : : <exception-handling>off:<build>no ]
72 [ run geometric_examples.cpp : : : <exception-handling>off:<build>no ]
73 [ run hyperexponential_snips.cpp ]
74 [ run hyperexponential_more_snips.cpp ]
75 [ run inverse_chi_squared_example.cpp ]
76 [ run legendre_stieltjes_example.cpp : : : [ requires cxx11_auto_declarations cxx11_defaulted_functions cxx11_lambdas ] ]
20effc67
TL
77 [ run airy_ulps_plot.cpp : : : [ requires cxx17_std_apply cxx17_if_constexpr ] ]
78 [ run agm_example.cpp : : : [ check-target-builds ../config//has_float128 "GCC libquadmath and __float128 support" : <linkflags>-lquadmath ] [ requires cxx17_std_apply cxx17_if_constexpr ] ]
b32b8144 79 #[ # run inverse_chi_squared_find_df_example.cpp ]
92f5a8d4
TL
80 #[ run lambert_w_basic_example.cpp ]
81 [ run lambert_w_basic_example.cpp : : : [ requires cxx11_numeric_limits ] ]
1e59de90 82 [ run lambert_w_simple_examples.cpp : : : [ requires cxx11_numeric_limits ] [ check-target-builds ../config//has_float128 "GCC libquadmath and __float128 support" : <linkflags>-lquadmath ] ]
92f5a8d4
TL
83 [ run lambert_w_precision_example.cpp : : : [ check-target-builds ../config//has_float128 "GCC libquadmath and __float128 support" : <linkflags>-lquadmath ] [ requires cxx11_numeric_limits cxx11_explicit_conversion_operators ] ]
84
b32b8144
FG
85 [ run inverse_gamma_example.cpp ]
86 [ run inverse_gamma_distribution_example.cpp : : : <exception-handling>off:<build>no ]
87 [ run laplace_example.cpp : : : <exception-handling>off:<build>no ]
88 [ run nc_chi_sq_example.cpp ]
89 [ run neg_binom_confidence_limits.cpp ]
90 [ run neg_binomial_sample_sizes.cpp ]
91 [ run negative_binomial_example1.cpp : : : <exception-handling>off:<build>no ]
92 [ run negative_binomial_example2.cpp ]
7c673cae 93
b32b8144
FG
94 [ run nonfinite_num_facet.cpp ]
95 [ run nonfinite_facet_simple.cpp ]
96 [ run nonfinite_num_facet_serialization.cpp ../../serialization/build//boost_serialization : : : <exception-handling>off:<build>no <toolset>gcc-mingw:<link>static ]
97 #[ # run lexical_cast_native.cpp ] # Expected to fail on some (but not all) platforms.
98 [ run lexical_cast_nonfinite_facets.cpp ]
99 [ run nonfinite_loopback_ok.cpp ]
100 [ run nonfinite_serialization_archives.cpp ../../serialization/build//boost_serialization : : : <exception-handling>off:<build>no <toolset>gcc-mingw:<link>static ]
101 [ run nonfinite_facet_sstream.cpp ]
7c673cae 102
b32b8144 103 [ run constants_eg1.cpp ]
7c673cae 104
b32b8144
FG
105 [ run normal_misc_examples.cpp : : : <exception-handling>off:<build>no ]
106 [ run owens_t_example.cpp ]
107 [ run policy_eg_1.cpp ]
92f5a8d4 108 [ run policy_eg_10.cpp : : : <target-os>vxworks:<build>no ] # VxWorks' complex.h has conflicting declaration of real
b32b8144
FG
109 [ run policy_eg_2.cpp ]
110 [ run policy_eg_3.cpp ]
111 [ run policy_eg_4.cpp ]
112 [ run policy_eg_5.cpp ]
113 [ run policy_eg_6.cpp ]
114 [ run policy_eg_7.cpp ]
115 [ run policy_eg_8.cpp ]
116 [ run policy_eg_9.cpp ]
117 [ run policy_ref_snip1.cpp : : : <exception-handling>off:<build>no ]
118 [ run policy_ref_snip10.cpp ]
119 [ run policy_ref_snip11.cpp ]
120 [ run policy_ref_snip12.cpp ]
92f5a8d4 121 [ run policy_ref_snip13.cpp : : : <exception-handling>off:<build>no ] # Fails clang-win - thrown exception from no Cauchy mean.
b32b8144
FG
122 [ run policy_ref_snip2.cpp ]
123 [ run policy_ref_snip3.cpp : : : <exception-handling>off:<build>no ]
124 [ run policy_ref_snip4.cpp ]
92f5a8d4 125 [ run policy_ref_snip5.cpp : : : <target-os>vxworks:<build>no ]
b32b8144
FG
126 [ run policy_ref_snip6.cpp ]
127 [ run policy_ref_snip7.cpp ]
128 [ run policy_ref_snip8.cpp ]
129 [ run policy_ref_snip9.cpp ]
130 [ run skew_normal_example.cpp ]
131 [ run students_t_example1.cpp ]
132 [ run students_t_example2.cpp ]
133 [ run students_t_example3.cpp ]
134 [ run students_t_single_sample.cpp ]
135 [ run students_t_two_samples.cpp ]
136 [ run HSO3SO4.cpp ]
92f5a8d4
TL
137 [ run series.cpp ]
138 [ run continued_fractions.cpp ]
7c673cae 139
92f5a8d4
TL
140 [ run barycentric_interpolation_example.cpp : : : [ requires cxx11_smart_ptr cxx11_function_template_default_args cxx11_unified_initialization_syntax cxx11_defaulted_functions cxx11_allocator cxx11_auto_declarations cxx11_lambdas ] ]
141 [ run barycentric_interpolation_example_2.cpp : : : [ requires cxx11_smart_ptr cxx11_function_template_default_args cxx11_unified_initialization_syntax cxx11_defaulted_functions cxx11_allocator cxx11_auto_declarations cxx11_lambdas ] ]
142 [ run cardinal_cubic_b_spline_example.cpp : : : [ requires cxx11_smart_ptr cxx11_hdr_random cxx11_defaulted_functions ] ]
11fdf7f2 143 [ compile naive_monte_carlo_example.cpp : [ requires cxx11_auto_declarations cxx11_lambdas cxx11_unified_initialization_syntax cxx11_hdr_thread cxx11_hdr_atomic cxx11_decltype cxx11_hdr_future cxx11_hdr_chrono cxx11_hdr_random cxx11_allocator ] ] # requires user input, can't run it, take a long time too!
92f5a8d4
TL
144 [ run catmull_rom_example.cpp : : : [ requires cxx17_if_constexpr cxx11_auto_declarations cxx17_std_apply ] ] # Actually the C++17 features used is std::size, not if constexpr; looks like there isn't yet a test for it.
145 [ run autodiff_black_scholes_brief.cpp : : : [ requires cxx11_inline_namespaces ] ]
146 [ run autodiff_black_scholes.cpp : : : [ requires cxx11_inline_namespaces ] ]
147 [ run autodiff_fourth_power.cpp : : : [ requires cxx11_inline_namespaces ] ]
1e59de90
TL
148 [ run autodiff_mixed_partials.cpp : : : [ check-target-builds ../config//is_ci_standalone_run "Standalone CI run" : <build>no ] [ requires cxx11_inline_namespaces ] ]
149 [ run autodiff_multiprecision.cpp : : : [ check-target-builds ../config//is_ci_standalone_run "Standalone CI run" : <build>no ] [ requires cxx11_inline_namespaces ] ]
92f5a8d4
TL
150 [ run ooura_fourier_integrals_example.cpp : : : [ requires cxx11_hdr_mutex cxx11_lambdas cxx11_inline_namespaces cxx11_auto_declarations ] ]
151 [ run ooura_fourier_integrals_cosine_example.cpp : : : [ requires cxx11_hdr_mutex cxx11_inline_namespaces cxx11_auto_declarations cxx17_std_apply ] ]
152 [ run ooura_fourier_integrals_multiprecision_example.cpp : : : [ check-target-builds ../config//has_float128 "GCC libquadmath and __float128 support" : <linkflags>-lquadmath ] [ requires cxx11_hdr_mutex cxx11_inline_namespaces cxx11_auto_declarations cxx17_std_apply ] ]
1e59de90 153 [ run reciprocal_fibonacci_constant.cpp : : : [ check-target-builds ../config//has_mpfr "MPFR Support" : <linkflags>"-lmpfr -lgmp" : <build>no ] ]
b32b8144 154;
92f5a8d4
TL
155
156run root_elliptic_finding.cpp /boost/timer : : : release <link>static [ requires cxx11_unified_initialization_syntax cxx11_defaulted_functions ] <target-os>freebsd:<linkflags>"-lrt" <target-os>linux:<linkflags>"-lrt -lpthread" ;
157run root_finding_algorithms.cpp /boost/timer : : : release <link>static [ requires cxx11_hdr_tuple cxx11_unified_initialization_syntax ] <target-os>freebsd:<linkflags>"-lrt" <target-os>linux:<linkflags>"-lrt -lpthread" ;
158run root_n_finding_algorithms.cpp /boost/timer : : : release <link>static [ requires cxx11_unified_initialization_syntax cxx11_defaulted_functions ] <target-os>freebsd:<linkflags>"-lrt" <target-os>linux:<linkflags>"-lrt -lpthread" ;
159
160explicit root_elliptic_finding ;
161explicit root_finding_algorithms ;
162explicit root_n_finding_algorithms ;