-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
1 parent
ab57b20
commit 41f07b0
Showing
44 changed files
with
832 additions
and
759 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Copyright René Ferdinand Rivera Morell 2023-2024 | ||
# 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) | ||
|
||
require-b2 5.2 ; | ||
|
||
constant boost_dependencies : | ||
/boost/assert//boost_assert | ||
/boost/concept_check//boost_concept_check | ||
/boost/config//boost_config | ||
/boost/core//boost_core | ||
/boost/integer//boost_integer | ||
/boost/lexical_cast//boost_lexical_cast | ||
/boost/predef//boost_predef | ||
/boost/random//boost_random | ||
/boost/static_assert//boost_static_assert | ||
/boost/throw_exception//boost_throw_exception ; | ||
|
||
project /boost/math | ||
: common-requirements | ||
<include>include | ||
; | ||
|
||
explicit | ||
[ alias boost_math : : : : <library>$(boost_dependencies) ] | ||
[ alias boost_math_c99 : build//boost_math_c99 ] | ||
[ alias boost_math_c99f : build//boost_math_c99f ] | ||
[ alias boost_math_c99l : build//boost_math_c99l ] | ||
[ alias boost_math_tr1 : build//boost_math_tr1 ] | ||
[ alias boost_math_tr1f : build//boost_math_tr1f ] | ||
[ alias boost_math_tr1l : build//boost_math_tr1l ] | ||
[ alias all : | ||
boost_math | ||
boost_math_c99 boost_math_c99f boost_math_c99l | ||
boost_math_tr1 boost_math_tr1f boost_math_tr1l | ||
example test ] | ||
[ alias testing : : : : | ||
<include>test | ||
<include>include_private ] | ||
; | ||
|
||
call-if : boost-library math | ||
: install boost_math | ||
boost_math_c99 boost_math_c99f boost_math_c99l | ||
boost_math_tr1 boost_math_tr1f boost_math_tr1l | ||
; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.