35 Commits

Author SHA1 Message Date
René Ferdinand Rivera Morell
41f07b0794
Add support for modular build structure. (#1160)
* Make the library modular usable.

* Fix -Wundef warnings

* Switch to library requirements instead of source. As source puts extra source in install targets.

* Add missing NO_LIB usage requirements.

* Remove boost-root relative include path.

* Add missing import-search for cconfig/predef checks.

* Add requires-b2 check to top-level build file.

* Sync upstream.

* Fix typo in test framework reference.

* Bump B2 require to 5.2

* Update copyright dates.

* Move inter-lib dependencies to a project variable and into the build targets.

* Switch to /boost/test//included target for header only mode of Boost.Test.

* Adjust doc build to avoid boost-root references.

* Update build deps.

* Fix project props not applying to the no_eh.obj compile.

* Update build deps.

* Add missing import-search.

* Fix float128_type checks to actually disable tests. Problem was that build is a non-free feature. Which can't be acquired through a usage requirement.

* GPU Batch 7

Fix igamma_large support on device

Add GPU support to toms748

Add GPU support to igamma_inv

Add GPU markers to gamma_inva

Add GPU Markers to lgamma_small

Remove STL usage from gamma

Remove NVRTC workaround

Fix fraction use of STL headers

Mark gamma functions in fwd

Disable declval on all GPU platforms

Disable more unneeded code on device

Add forward decl for NVRTC tgamma

Disable unneeded items for all GPU

Change workaround for missing overloads

Rearrange definition location

Add include path to cuda now that workaround is removed

Fix NVRTC incompatibility with recursion and forward decls

Add tgamma_ratio CUDA and NVRTC testing

Fix NVRTC handling of gamma_p_derivative

Add gamma_p_derivative CUDA and NVRTC testing

Remove recursion from gamma_incomplete_imp

Add SYCL testing of igamma, igamma_inv, and igamma_inva

Ignore literal-range warnings

Remove use of static const char* for function name

Fix missing CUDA header

Remove calls under NVRTC to fwd decl

Add more nvrtc workarounds

Use builtin erfc instead of header cycle

Add CUDA and NVRTC testing of gamma_p_inv

Adjust tolerances

Add GPU support to chi squared dist

Fix static local variable

Add chi squared dist SYCL testing

Add chi squared dist CUDA testing

Add chi squared dist NVRTC testing

Add GPU support to weibull dist

Add weibull dist SYCL testing

Add weibull dist CUDA testing

Add weibull dist NVRTC testing

* Fix policy macro definition for MSVC platforms

* Don't add quadmath lib for has_128bit_floatmax_t check. It was accidentally copy+pasted.

* Fix incorrect name for float128 type check that caused it to not apear.

---------

Co-authored-by: Matt Borland <matt@mattborland.com>
2024-09-06 08:45:23 -04:00
Matt Borland
d90994a891
Add C++14 build requirements 2024-03-08 07:41:05 +01:00
jzmaddock
93467954a9 Fix up Jamfiles for C++11 s a requirement.
Fixes: https://github.com/boostorg/math/issues/531.
2021-02-13 19:40:50 +00:00
Peter Dimov
9cb2968efb Remove fake boost_math library target; no longer required 2019-10-24 20:15:51 +03:00
Peter Dimov
8d2c59c861 Add a fake boost_math target to boost-install 2018-10-05 20:46:07 +03:00
jzmaddock
8f252f78a0 Building with hidden scope doesn't work on Oracle.
Also added needed typecast for Oracle 64-bit build.
2015-08-20 08:53:00 +01:00
jzmaddock
ca866ccff6 Apply https://svn.boost.org/trac/boost/ticket/9865 2014-04-10 10:39:46 +01:00
John Maddock
7858278bec Fix gcc-4.8.x warnings.
Fix some Mingw failures.
Fixes #8855.

[SVN r85131]
2013-07-23 11:09:47 +00:00
Steven Watanabe
e4a7d93d89 Use an explicit message for the configure checks instead of printing the BBv2 target name.
[SVN r77777]
2012-04-05 13:07:11 +00:00
Steven Watanabe
3524499fc0 Revert [67111] (addition of boost/detail/iomanip.hpp) and all the commits that depend on it. ([68137], [68140], [68141], [68154], and [68165]).
[SVN r68168]
2011-01-15 08:11:51 +00:00
Bryce Adelstein-Lelbach
f11d1c3c2b Replacing the use of <iomanip> with <boost/detail/iomanip.hpp> across Boost.
On Linux, GNU's libstdc++, which is the default stdlib for icc and clang,
cannot parse the <iomanip> header in version 4.5+ (which thankfully neither
compiler advises the use of yet), as it's original C++98-friendly
implementation has been replaced with a gnu++0x implementation.
<boost/detail/iomanip.hpp> is a portable implementation of <iomanip>, providing
boost::detail::setfill, boost::detail::setbase, boost::detail::setw,
boost::detail::setprecision, boost::detail::setiosflags and
boost::detail::resetiosflags. 



[SVN r68140]
2011-01-14 02:35:58 +00:00
Bryce Adelstein-Lelbach
d47256676f Support for PathScale EKOPath Compiler Suite, version 4.0.0.
[SVN r67707]
2011-01-06 02:38:20 +00:00
John Maddock
8c4a174477 Change build options to use -fvisibility-hidden only when the gcc compiler actually supports it.
[SVN r64800]
2010-08-14 16:08:49 +00:00
John Maddock
1430c09c19 Update to use hidden visibility where possible.
[SVN r62201]
2010-05-25 14:51:38 +00:00
John Maddock
d0d0a58cd4 Add Boost.Build configuration support.
[SVN r61300]
2010-04-15 16:05:39 +00:00
Vladimir Prus
d110663674 Somewhat simplify Boost.Math configuration checks
[SVN r60658]
2010-03-16 22:24:52 +00:00
Vladimir Prus
72ef981fbb Use the official boost.math check for long double
[SVN r59869]
2010-02-24 13:15:58 +00:00
Vladimir Prus
6e4ce5db3c Configuration framework and boost.math long long configuration.
[SVN r59867]
2010-02-24 12:26:26 +00:00
John Maddock
a549a4b6d5 Copy over some of the project options from the test Jamfile.
[SVN r58911]
2010-01-11 18:29:36 +00:00
John Maddock
5199267448 Merge changes from Sandbox.
Update series and continued fraction docs.

[SVN r56668]
2009-10-09 12:43:29 +00:00
Vladimir Prus
d45b5ffc20 Import PCH module
[SVN r51494]
2009-03-01 05:57:10 +00:00
John Maddock
323a108149 Merges changes from Sandbox version:
MPFR Support.
New distributions: laplace, logistic and hypergeometric.
Added PCH support to the Jamfiles for faster build times.
Added C# usage example.
Updated and regenerated docs.
Also fixes #2799 and updates the tests to catch this failure in future.

[SVN r51455]
2009-02-26 17:34:52 +00:00
John Maddock
32a9c4e02a Simplified version of patch in #2597.
Fixes #2597.

[SVN r50378]
2008-12-24 11:20:29 +00:00
John Maddock
eb9b7a8839 Improve pch support.
Move configuration tests to their own directory so they're only run when required.

[SVN r49442]
2008-10-23 12:24:45 +00:00
John Maddock
87b93dab9f Add pch support.
[SVN r49418]
2008-10-21 12:46:34 +00:00
John Maddock
df7ad868e7 Added mpfr docs, and updated the NTL usage docs.
Updated bindings tests to run automatically when the appropriate libraries are present.

[SVN r49110]
2008-10-02 09:37:29 +00:00
John Maddock
963749fab1 boost-install rule doesn't work from the sandbox.
[SVN r48253]
2008-08-20 11:34:48 +00:00
John Maddock
f284acaf50 Merge changes from Trunk.
[SVN r47079]
2008-07-04 17:08:58 +00:00
John Maddock
198f567a86 Fix some inspection report issues: mainly copyright declarations.
[SVN r46806]
2008-06-28 11:25:11 +00:00
John Maddock
1c4dae80e0 Added include of testing rules, and install rules.
[SVN r45746]
2008-05-25 16:57:45 +00:00
John Maddock
b8deb3aeeb Added missing file and reinstated Jamfile.v2.
[SVN r45673]
2008-05-23 10:51:05 +00:00
Jürgen Hunold
15840abf4b Revert parts of r45645 due to missing "has_long_double_support.cpp"
[SVN r45665]
2008-05-22 19:53:35 +00:00
John Maddock
396f854d6f Split test_tr1 into two: one for long double, and one for float and double types.
[SVN r45645]
2008-05-22 11:23:57 +00:00
John Maddock
5ebe9d5b2f Split TR1 library build into separate libraries for C99 and TR1, plus separates for float/double/long double etc.
Added concept check for TR1 header.
Added basic runtime check for TR1 header.

[SVN r45215]
2008-05-08 16:09:30 +00:00
John Maddock
4d3b6e4984 Added source for TR1 C-compatible versions of the math functions.
[SVN r45126]
2008-05-05 11:07:48 +00:00