# Copyright John Maddock 2010 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt. # \math_toolkit\libs\math\test\jamfile.v2 # Runs all math toolkit tests, functions & distributions, # and build math examples. # bring in the rules for testing import modules ; import path ; import ../../config/checks/config : requires ; project : requirements gcc:-Wno-missing-braces darwin:-Wno-missing-braces acc:+W2068,2461,2236,4070,4069 intel-win:-nologo intel-win:-nologo msvc:all msvc:on msvc:/wd4996 msvc:/wd4512 msvc:/wd4610 msvc:/wd4510 msvc:/wd4127 msvc:/wd4701 # needed for lexical cast - temporary. static borland:static ../../.. BOOST_ALL_NO_LIB=1 BOOST_UBLAS_UNSUPPORTED_COMPILER=0 . ../include_private ; lib gmp ; lib mpfr ; lib mpfi ; lib quadmath ; exe bessel_data : bessel_data.cpp ; install bessel_data_install : bessel_data : bin ; exe ellint_f_data : ellint_f_data.cpp ; install ellint_f_data_install : ellint_f_data : bin ; exe heuman_lambda_data : heuman_lambda_data.cpp ; install heuman_lambda_data_install : heuman_lambda_data : bin ; exe hyp_2f2_data : hyp_2f2_data.cpp ; install hyp_2f2_data_install : hyp_2f2_data : bin ; exe laguerre_data : laguerre_data.cpp ; install laguerre_data_install : laguerre_data : bin ; exe bessel_derivative_data : bessel_derivative_data.cpp : [ check-target-builds ../../multiprecision/config//has_gmp : gmp : no ] [ check-target-builds ../../multiprecision/config//has_mpfr : mpfr : no ] ; install bessel_derivative_data_install : bessel_derivative_data : bin ; exe ellint_k_data : ellint_k_data.cpp ; install ellint_k_data_install : ellint_k_data : bin ; exe hyp_0f2_data : hyp_0f2_data.cpp ; install hyp_0f2_data_install : hyp_0f2_data : bin ; exe hypergeometric_dist_data : hypergeometric_dist_data.cpp : [ requires cxx11_hdr_random ] ; install hypergeometric_dist_data_install : hypergeometric_dist_data : bin ; exe legendre_data : legendre_data.cpp ; install legendre_data_install : legendre_data : bin ; exe beta_data : beta_data.cpp ; install beta_data_install : beta_data : bin ; exe ellint_pi2_data : ellint_pi2_data.cpp ; install ellint_pi2_data_install : ellint_pi2_data : bin ; exe hyp_1f1_big_data : hyp_1f1_big_data.cpp : [ check-target-builds ../../multiprecision/config//has_gmp : gmp : no ] [ check-target-builds ../../multiprecision/config//has_mpfr : mpfr : no ] [ check-target-builds ../../multiprecision/config//has_mpfi : gmp mpfr mpfi : no ] [ requires cxx11_decltype ] ; install hyp_1f1_big_data_install : hyp_1f1_big_data : bin ; exe ibeta_data : ibeta_data.cpp ; install ibeta_data_install : ibeta_data : bin ; exe log1p_expm1_data : log1p_expm1_data.cpp ; install log1p_expm1_data_install : log1p_expm1_data : bin ; exe carlson_ellint_data : carlson_ellint_data.cpp ; install carlson_ellint_data_install : carlson_ellint_data : bin ; exe ellint_pi3_data : ellint_pi3_data.cpp ; install ellint_pi3_data_install : ellint_pi3_data : bin ; exe hyp_1f1_data : hyp_1f1_data.cpp : [ check-target-builds ../../multiprecision/config//has_gmp : gmp : no ] [ check-target-builds ../../multiprecision/config//has_mpfr : mpfr : no ] [ check-target-builds ../../multiprecision/config//has_mpfi : gmp mpfr mpfi : no ] [ requires cxx11_decltype ] ; install hyp_1f1_data_install : hyp_1f1_data : bin ; exe ibeta_derivative_data : ibeta_derivative_data.cpp ; install ibeta_derivative_data_install : ibeta_derivative_data : bin ; exe sinc_data : sinc_data.cpp ; install sinc_data_install : sinc_data : bin ; exe cbrt_data : cbrt_data.cpp ; install cbrt_data_install : cbrt_data : bin ; exe erf_data : erf_data.cpp : [ check-target-builds ../../multiprecision/config//has_float128 : quadmath : no ] ; install erf_data_install : erf_data : bin ; exe hyp_1f1_log_big_data : hyp_1f1_log_big_data.cpp : [ check-target-builds ../../multiprecision/config//has_gmp : gmp : no ] [ check-target-builds ../../multiprecision/config//has_mpfr : mpfr : no ] [ check-target-builds ../../multiprecision/config//has_mpfi : gmp mpfr mpfi : no ] [ requires cxx11_decltype ] ; install hyp_1f1_log_big_data_install : hyp_1f1_log_big_data : bin ; exe ibeta_inv_data : ibeta_inv_data.cpp : [ check-target-builds ../../multiprecision/config//has_float128 : quadmath : no ] ; install ibeta_inv_data_install : ibeta_inv_data : bin ; exe spherical_harmonic_data : spherical_harmonic_data.cpp ; install spherical_harmonic_data_install : spherical_harmonic_data : bin ; exe digamma_data : digamma_data.cpp : [ check-target-builds ../../multiprecision/config//has_float128 : quadmath : no ] ; install digamma_data_install : digamma_data : bin ; exe expint_data : expint_data.cpp ; install expint_data_install : expint_data : bin ; exe hyp_1f1_reg_big_data : hyp_1f1_reg_big_data.cpp : [ check-target-builds ../../multiprecision/config//has_gmp : gmp : no ] [ check-target-builds ../../multiprecision/config//has_mpfr : mpfr : no ] [ check-target-builds ../../multiprecision/config//has_mpfi : gmp mpfr mpfi : no ] [ requires cxx11_decltype ] ; install hyp_1f1_reg_big_data_install : hyp_1f1_reg_big_data : bin ; exe ibeta_invab_data : ibeta_invab_data.cpp : [ check-target-builds ../../multiprecision/config//has_float128 : quadmath : no ] ; install ibeta_invab_data_install : ibeta_invab_data : bin ; exe tgamma_large_data : tgamma_large_data.cpp : [ check-target-builds ../../multiprecision/config//has_gmp : gmp : no ] [ check-target-builds ../../multiprecision/config//has_mpfr : mpfr : no ] ; install tgamma_large_data_install : tgamma_large_data : bin ; exe ellint_d_data : ellint_d_data.cpp ; install ellint_d_data_install : ellint_d_data : bin ; exe expint_i_data : expint_i_data.cpp ; install expint_i_data_install : expint_i_data : bin ; exe hyp_1f2_data : hyp_1f2_data.cpp ; install hyp_1f2_data_install : hyp_1f2_data : bin ; exe igamma_data : igamma_data.cpp : [ check-target-builds ../../multiprecision/config//has_float128 : quadmath : no ] ; install igamma_data_install : igamma_data : bin ; exe tgamma_ratio_data : tgamma_ratio_data.cpp ; install tgamma_ratio_data_install : tgamma_ratio_data : bin ; exe ellint_d2_data : ellint_d2_data.cpp ; install ellint_d2_data_install : ellint_d2_data : bin ; exe gamma_P_inva_data : gamma_P_inva_data.cpp : [ check-target-builds ../../multiprecision/config//has_float128 : quadmath : no ] ; install gamma_P_inva_data_install : gamma_P_inva_data : bin ; exe hyp_2f0_data : hyp_2f0_data.cpp ; install hyp_2f0_data_install : hyp_2f0_data : bin ; exe inv_hyp_data : inv_hyp_data.cpp ; install inv_hyp_data_install : inv_hyp_data : bin ; exe trig_data : trig_data.cpp ; install trig_data_install : trig_data : bin ; exe ellint_e_data : ellint_e_data.cpp ; install ellint_e_data_install : ellint_e_data : bin ; exe hermite_data : hermite_data.cpp ; install hermite_data_install : hermite_data : bin ; exe hyp_2f1_data : hyp_2f1_data.cpp ; install hyp_2f1_data_install : hyp_2f1_data : bin ; exe jacobi_theta_data : jacobi_theta_data.cpp ; install jacobi_theta_data_install : jacobi_theta_data : bin ; exe jacobi_zeta_data : jacobi_zeta_data.cpp ; install jacobi_zeta_data_install : jacobi_zeta_data : bin ; exe zeta_data : zeta_data.cpp ; install zeta_data_install : zeta_data : bin ; exe generate_test_values : generate_test_values.cpp ; install generate_test_values_install : generate_test_values : bin ; exe igamma_temme_large_coef : igamma_temme_large_coef.cpp ; install igamma_temme_large_coef_install : igamma_temme_large_coef : bin ; exe lanczos_generator : lanczos_generator.cpp ../../chrono/build//boost_chrono ../../system/build//boost_system : [ check-target-builds ../../multiprecision/config//has_float128 : quadmath : no ] [ requires cxx11_nullptr ] ; install lanczos_generator_install : lanczos_generator : bin ; exe factorial_tables : factorial_tables.cpp ; install factorial_tables_install : factorial_tables : bin ; exe generate_rational_test : generate_rational_test.cpp ; install generate_rational_test_install : generate_rational_test : bin ; #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 #{ # exe $(source:B) : $(source) : [ check-target-builds ../../multiprecision/config//has_gmp : HAS_GMP gmp : no ] [ check-target-builds ../../multiprecision/config//has_mpfr : HAS_MPFR mpfr : no ] [ check-target-builds ../../multiprecision/config//has_mpfi : HAS_MPFI gmp mpfr mpfi ] ; # install $(source:B)_bin : $(source:B) : bin ; #} exe generate_rational_code : generate_rational_code.cpp ; exe process_perf_results : process_perf_results.cpp ../../regex/build//boost_regex ; install bin : generate_rational_code process_perf_results ;