Add option --disable-long-double to Boost build procedure.
Specifying this option essentially allows us to ignore
a build failure.
c.f. http://lists.boost.org/boost-build/2008/11/20683.php
|
old
|
new
|
|
| 51 | 51 | sph_neumann |
| 52 | 52 | ; |
| 53 | 53 | |
| 54 | | compile has_long_double_support.cpp ; |
| | 54 | if --disable-long-double in [ modules.peek : ARGV ] |
| | 55 | { |
| | 56 | build-long-double = false ; |
| | 57 | } |
| | 58 | else |
| | 59 | { |
| | 60 | build-long-double = true ; |
| | 61 | compile has_long_double_support.cpp ; |
| | 62 | } |
| 55 | 63 | |
| 56 | 64 | lib boost_math_tr1 : ../src/tr1/$(TR1_SOURCES).cpp |
| 57 | 65 | : |
| … |
… |
|
| 63 | 74 | <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1 |
| 64 | 75 | ; |
| 65 | 76 | |
| | 77 | if $(build-long-double) = true |
| | 78 | { |
| 66 | 79 | lib boost_math_tr1l : ../src/tr1/$(TR1_SOURCES)l.cpp |
| 67 | 80 | : |
| 68 | 81 | <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1 |
| 69 | 82 | <dependency>has_long_double_support |
| 70 | 83 | ; |
| | 84 | } |
| 71 | 85 | |
| 72 | 86 | lib boost_math_c99 : ../src/tr1/$(C99_SOURCES).cpp |
| 73 | 87 | : |
| … |
… |
|
| 79 | 94 | <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1 |
| 80 | 95 | ; |
| 81 | 96 | |
| | 97 | if $(build-long-double) = true |
| | 98 | { |
| 82 | 99 | lib boost_math_c99l : ../src/tr1/$(C99_SOURCES)l.cpp |
| 83 | 100 | : |
| 84 | 101 | <link>shared:<define>BOOST_MATH_TR1_DYN_LINK=1 |
| 85 | 102 | <dependency>has_long_double_support |
| 86 | 103 | ; |
| | 104 | } |
| 87 | 105 | |
| 88 | 106 | |
| 89 | | boost-install boost_math_c99 boost_math_c99f boost_math_c99l boost_math_tr1 boost_math_tr1f boost_math_tr1l ; |
| | 107 | boost-install boost_math_c99 boost_math_c99f boost_math_tr1 boost_math_tr1f ; |
| 90 | 108 | |
| | 109 | if $(build-long-double) = true |
| | 110 | { |
| | 111 | boost-install boost_math_c99l boost_math_tr1l ; |
| | 112 | } |