File: Jamfile.v2

package info (click to toggle)
scipy 1.16.0-1exp7
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 234,820 kB
  • sloc: cpp: 503,145; python: 344,611; ansic: 195,638; javascript: 89,566; fortran: 56,210; cs: 3,081; f90: 1,150; sh: 848; makefile: 785; pascal: 284; csh: 135; lisp: 134; xml: 56; perl: 51
file content (127 lines) | stat: -rw-r--r-- 3,485 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# copyright John Maddock 2008
# 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.

import testing ;
import pch ;
import-search /boost/config/checks ;
import config : requires ;

project
    : common-requirements <library>$(boost_dependencies)
    : requirements
      <toolset>intel-win:<cxxflags>-nologo
      <toolset>intel-win:<linkflags>-nologo
      #<toolset>intel-linux:<pch>off
      <toolset>intel-darwin:<pch>off
      <toolset>gcc,<target-os>windows:<pch>off
      #<toolset>gcc:<cxxflags>-fvisibility=hidden
      <toolset>intel-linux:<cxxflags>-fvisibility=hidden
      #<toolset>sun:<cxxflags>-xldscope=hidden
      [ check-target-builds ../config//has_gcc_visibility "gcc visibility" : <toolset>gcc:<cxxflags>-fvisibility=hidden : ]
      [ 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 ]
      [ requires cxx14_decltype_auto cxx14_generic_lambdas cxx14_return_type_deduction cxx14_variable_templates cxx14_decltype_auto cxx14_generic_lambdas cxx14_return_type_deduction ]
    : usage-requirements
        <define>BOOST_MATH_TR1_NO_LIB=1
    ;

cpp-pch pch : ../src/tr1/pch.hpp : <include>../src/tr1 <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1 ;

C99_SOURCES = acosh
asinh
atanh
cbrt
copysign
erfc
erf
expm1
fmax
fmin
fpclassify
hypot
lgamma
llround
log1p
lround
nextafter
nexttoward
round
tgamma
trunc ;

TR1_SOURCES =
assoc_laguerre
assoc_legendre
beta
comp_ellint_1
comp_ellint_2
comp_ellint_3
cyl_bessel_i
cyl_bessel_j
cyl_bessel_k
cyl_neumann
ellint_1
ellint_2
ellint_3
expint
hermite
laguerre
legendre
riemann_zeta
sph_bessel
sph_legendre
sph_neumann
;

# Configure checks.

import project ;
import configure ;
import property ;
import property-set ;
import targets ;

obj long_double_check : ../config/has_long_double_support.cpp ;
explicit long_double_check ;

# Library targets
lib boost_math_tr1 : ../src/tr1/$(TR1_SOURCES).cpp pch
    :
         <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
         <include>../src/tr1
   ;

lib boost_math_tr1f : ../src/tr1/$(TR1_SOURCES)f.cpp pch
    :
         <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
         <include>../src/tr1
   ;

lib boost_math_tr1l : ../src/tr1/$(TR1_SOURCES)l.cpp pch
    :
         <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
         <dependency>../config//has_long_double_support
         <include>../src/tr1
         [ check-target-builds ../config//has_long_double_support "long double support" : : <build>no ]
   ;

lib boost_math_c99 : ../src/tr1/$(C99_SOURCES).cpp pch
    :
         <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
         <include>../src/tr1
   ;

lib boost_math_c99f : ../src/tr1/$(C99_SOURCES)f.cpp pch
    :
         <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
         <include>../src/tr1
   ;

lib boost_math_c99l : ../src/tr1/$(C99_SOURCES)l.cpp pch
    :
         <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1
         <dependency>../config//has_long_double_support
         <include>../src/tr1
         [ check-target-builds ../config//has_long_double_support "long double support" : : <build>no ]
   ;