]>
Commit | Line | Data |
---|---|---|
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 | ||
6 | import modules ; | |
7 | import path ; | |
8 | ||
9 | local ntl-path = [ modules.peek : NTL_PATH ] ; | |
10 | local gmp_path = [ modules.peek : GMP_PATH ] ; | |
11 | local e_float_path = [ modules.peek : E_FLOAT_PATH ] ; | |
12 | ||
13 | lib quadmath ; | |
b32b8144 FG |
14 | lib fftw3 ; |
15 | lib fftw3f ; | |
16 | lib fftw3l ; | |
17 | lib fftw3q ; | |
7c673cae FG |
18 | |
19 | obj has_long_double_support : has_long_double_support.cpp ; | |
20 | obj has_mpfr_class : has_mpfr_class.cpp : | |
21 | <include>$(gmp_path) <include>$(gmp_path)/mpfr <include>$(gmp_path)/gmpfrxx ; | |
22 | obj has_mpreal : has_mpreal.cpp : | |
23 | <include>$(gmp_path) <include>$(gmp_path)/mpfr <include>$(gmp_path)/mpfrc++ ; | |
24 | obj has_ntl_rr : has_ntl_rr.cpp : <include>$(ntl-path)/include ; | |
25 | obj has_gmpxx : has_gmpxx.cpp : | |
26 | <include>$(gmp_path) <include>$(gmp_path)/mpfr <include>$(gmp_path)/gmpfrxx ; | |
27 | obj has_gcc_visibility : has_gcc_visibility.cpp : | |
28 | <toolset>gcc:<cxxflags>-fvisibility=hidden <toolset>gcc:<cxxflags>-Werror ; | |
29 | obj has_e_float : has_e_float.cpp : <include>$(e_float_path) ; | |
30 | exe has_float128 : has_float128.cpp quadmath ; | |
b32b8144 | 31 | exe has_fftw3 : has_fftw3.cpp fftw3 fftw3f fftw3l ; |
7c673cae FG |
32 | exe has_intel_quad : has_intel_quad.cpp : <cxxflags>-Qoption,cpp,--extended_float_type ; |
33 | obj has_128bit_floatmax_t : has_128bit_floatmax_t.cpp ; | |
34 | ||
35 | explicit has_long_double_support ; | |
36 | explicit has_mpfr_class ; | |
37 | explicit has_mpreal ; | |
38 | explicit has_ntl_rr ; | |
39 | explicit has_gmpxx ; | |
40 | explicit has_gcc_visibility ; | |
41 | explicit has_e_float ; | |
42 | explicit has_float128 ; | |
43 | explicit has_intel_quad ; | |
b32b8144 FG |
44 | explicit has_128bit_floatmax_t ; |
45 | explicit has_fftw3 ; | |
46 |