]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/math/example/Jamfile.v2
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / math / example / Jamfile.v2
index 86cf30b730ae7af75118b1402224a2783983a621..fd40f3982d68e77b593324a13ef0ae01f4917e74 100644 (file)
@@ -17,10 +17,10 @@ project
       <toolset>intel:<cxxflags>-Qwd264,239
       <toolset>msvc:<warnings>all
       <toolset>msvc:<asynch-exceptions>on
-               <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
-               <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
-               <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
-               <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
+    <toolset>msvc:<define>_CRT_SECURE_NO_DEPRECATE
+    <toolset>msvc:<define>_SCL_SECURE_NO_DEPRECATE
+    <toolset>msvc:<define>_SCL_SECURE_NO_WARNINGS
+    <toolset>msvc:<define>_CRT_SECURE_NO_WARNINGS
       <toolset>msvc:<cxxflags>/wd4996
       <toolset>msvc:<cxxflags>/wd4512
       <toolset>msvc:<cxxflags>/wd4610
@@ -30,8 +30,12 @@ project
       <toolset>msvc:<cxxflags>/wd4127
       <toolset>msvc:<cxxflags>/wd4305
       <toolset>msvc:<cxxflags>/wd4459
+      <toolset>msvc:<cxxflags>/wd4456 # declaration of hides previous local declaration.
       #-<toolset>msvc:<cxxflags>/Za # nonfinite Serialization examples fail link if disable MS extensions,
       #  because serialization library is built with MS extensions enabled (default).
+      <toolset>clang:<cxxflags>-Wno-unknown-pragmas
+      <toolset>clang:<cxxflags>-Wno-language-extension-token
+
       <include>../../..
       <include>../include_private
       <exception-handling>off:<source>../test//no_eh
@@ -48,6 +52,8 @@ test-suite examples :
    [ run binomial_example_nag.cpp  ]
    [ run binomial_quiz_example.cpp : : : <exception-handling>off:<build>no  ]
    [ run binomial_sample_sizes.cpp  ]
+   [ run brent_minimise_example.cpp  : : : [ requires cxx11_hdr_tuple ] ]
+
    [ run c_error_policy_example.cpp  ]
    [ run chi_square_std_dev_test.cpp : : : <exception-handling>off:<build>no  ]
    [ run distribution_construction.cpp : : : <exception-handling>off:<build>no  ]
@@ -55,6 +61,9 @@ test-suite examples :
    [ run error_policies_example.cpp  ]
    [ run error_policy_example.cpp : : : <exception-handling>off:<build>no  ]
    [ run f_test.cpp  ]
+   # [ run fft_sines_table.cpp  : : : [ requires cxx11_numeric_limits ] ]
+   # No need to re-run this routinely as it only creates a table of sines for a documentation example.
+
    [ run find_location_example.cpp : : : <exception-handling>off:<build>no  ]
    [ run find_mean_and_sd_normal.cpp : : : <exception-handling>off:<build>no  ]
    [ run find_root_example.cpp : : : <exception-handling>off:<build>no  ]
@@ -65,6 +74,11 @@ test-suite examples :
    [ run inverse_chi_squared_example.cpp  ]
    [ run legendre_stieltjes_example.cpp : : : [ requires cxx11_auto_declarations cxx11_defaulted_functions cxx11_lambdas ]  ]
    #[ # run inverse_chi_squared_find_df_example.cpp  ]
+   #[ run lambert_w_basic_example.cpp ]
+   [ run lambert_w_basic_example.cpp  : : : [ requires cxx11_numeric_limits ] ]
+   [ run lambert_w_simple_examples.cpp  : : : [ requires cxx11_numeric_limits ] ]
+   [ 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 ] ]
+
    [ run inverse_gamma_example.cpp  ]
    [ run inverse_gamma_distribution_example.cpp : : : <exception-handling>off:<build>no  ]
    [ run laplace_example.cpp : : : <exception-handling>off:<build>no  ]
@@ -88,7 +102,7 @@ test-suite examples :
    [ run normal_misc_examples.cpp : : : <exception-handling>off:<build>no  ]
    [ run owens_t_example.cpp  ]
    [ run policy_eg_1.cpp  ]
-   [ run policy_eg_10.cpp  ]
+   [ run policy_eg_10.cpp : : : <target-os>vxworks:<build>no ] # VxWorks' complex.h has conflicting declaration of real
    [ run policy_eg_2.cpp  ]
    [ run policy_eg_3.cpp  ]
    [ run policy_eg_4.cpp  ]
@@ -101,11 +115,11 @@ test-suite examples :
    [ run policy_ref_snip10.cpp  ]
    [ run policy_ref_snip11.cpp  ]
    [ run policy_ref_snip12.cpp  ]
-   [ run policy_ref_snip13.cpp : : : <exception-handling>off:<build>no  ]
+   [ run policy_ref_snip13.cpp : : : <exception-handling>off:<build>no  ]  # Fails clang-win - thrown exception from no Cauchy mean.
    [ run policy_ref_snip2.cpp  ]
    [ run policy_ref_snip3.cpp : : : <exception-handling>off:<build>no  ]
    [ run policy_ref_snip4.cpp  ]
-   [ run policy_ref_snip5.cpp  ]
+   [ run policy_ref_snip5.cpp  : : : <target-os>vxworks:<build>no ]
    [ run policy_ref_snip6.cpp  ]
    [ run policy_ref_snip7.cpp  ]
    [ run policy_ref_snip8.cpp  ]
@@ -117,17 +131,29 @@ test-suite examples :
    [ run students_t_single_sample.cpp  ]
    [ run students_t_two_samples.cpp  ]
    [ run HSO3SO4.cpp  ]
+   [ run series.cpp  ]
+   [ run continued_fractions.cpp  ]
 
-   [ run 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" ]
-   [ run 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" ]
-   [ run 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" ]
-
-   [ explicit root_elliptic_finding  ]
-   [ explicit root_finding_algorithms  ]
-   [ explicit root_n_finding_algorithms  ]
-
-   [ run barycentric_interpolation_example.cpp : : : [ requires cxx11_smart_ptr ]  ]
-   [ run barycentric_interpolation_example_2.cpp : : : [ requires cxx11_smart_ptr cxx11_function_template_default_args ]  ]
-   [ run cubic_b_spline_example.cpp : : : [ requires cxx11_smart_ptr cxx11_hdr_random cxx11_defaulted_functions ]  ]
+   [ 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 ]  ]
+   [ 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 ]  ]
+   [ run cardinal_cubic_b_spline_example.cpp : : : [ requires cxx11_smart_ptr cxx11_hdr_random cxx11_defaulted_functions ]  ]
    [ 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!
+   [ 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.
+   [ run autodiff_black_scholes_brief.cpp : : : [ requires cxx11_inline_namespaces ] ]
+   [ run autodiff_black_scholes.cpp : : : [ requires cxx11_inline_namespaces ] ]
+   [ run autodiff_fourth_power.cpp : : : [ requires cxx11_inline_namespaces ] ]
+   [ run autodiff_mixed_partials.cpp : : : [ requires cxx11_inline_namespaces ] ]
+   [ run autodiff_multiprecision.cpp : : : [ requires cxx11_inline_namespaces ] ]
+   [ run ooura_fourier_integrals_example.cpp : : : [ requires cxx11_hdr_mutex cxx11_lambdas cxx11_inline_namespaces cxx11_auto_declarations ] ]
+   [ run ooura_fourier_integrals_cosine_example.cpp : : : [ requires cxx11_hdr_mutex cxx11_inline_namespaces cxx11_auto_declarations cxx17_std_apply ] ]
+   [ 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 ] ]
+
 ;
+
+run 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" ;
+run 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" ;
+run 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" ;
+
+explicit root_elliptic_finding  ;
+explicit root_finding_algorithms  ;
+explicit root_n_finding_algorithms  ;