Jamfile.v2 1.9 KB

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