diff --git a/modules/boost.math/1.83.0.bcr.1/MODULE.bazel b/modules/boost.math/1.83.0.bcr.1/MODULE.bazel new file mode 100644 index 00000000000..e4e4492d2a6 --- /dev/null +++ b/modules/boost.math/1.83.0.bcr.1/MODULE.bazel @@ -0,0 +1,18 @@ +module( + name = "boost.math", + version = "1.83.0.bcr.1", + bazel_compatibility = [">=7.2.1"], + compatibility_level = 108300, +) + +bazel_dep(name = "boost.assert", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.concept_check", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.config", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.core", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.integer", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.lexical_cast", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.predef", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.random", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.static_assert", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.throw_exception", version = "1.83.0.bcr.1") +bazel_dep(name = "rules_cc", version = "0.0.14") diff --git a/modules/boost.math/1.83.0.bcr.1/overlay/BUILD.bazel b/modules/boost.math/1.83.0.bcr.1/overlay/BUILD.bazel new file mode 100644 index 00000000000..14ff7e7bab7 --- /dev/null +++ b/modules/boost.math/1.83.0.bcr.1/overlay/BUILD.bazel @@ -0,0 +1,101 @@ +load("@rules_cc//cc:defs.bzl", "cc_library") + +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "boost.math", + hdrs = glob( + [ + "include/**/*.hpp", + "include/**/*.ipp", + ], + exclude = [ + "include/boost/math/*/detail/**/*.hpp", + "include/boost/math/bindings/mpfr.hpp", + "include/boost/math/bindings/mpreal.hpp", + "include/boost/math/bindings/rr.hpp", + "include/boost/math/ccmath/*.hpp", + "include/boost/math/concepts/distributions.hpp", + "include/boost/math/constants/calculate_constants.hpp", + "include/boost/math/cstdfloat/cstdfloat_complex_std.hpp", + "include/boost/math/differentiation/autodiff_cpp11.hpp", + "include/boost/math/differentiation/lanczos_smoothing.hpp", + "include/boost/math/distributions/empirical_cumulative_distribution_function.hpp", + "include/boost/math/filters/daubechies.hpp", + "include/boost/math/interpolators/cardinal_quadratic_b_spline.hpp", + "include/boost/math/interpolators/cardinal_quintic_b_spline.hpp", + "include/boost/math/interpolators/cardinal_trigonometric.hpp", + "include/boost/math/quadrature/wavelet_transforms.hpp", + "include/boost/math/special_functions/bessel_iterators.hpp", + "include/boost/math/special_functions/chebyshev_transform.hpp", + "include/boost/math/special_functions/daubechies_scaling.hpp", + "include/boost/math/special_functions/daubechies_wavelet.hpp", + "include/boost/math/special_functions/fourier_transform_daubechies.hpp", + "include/boost/math/special_functions/rsqrt.hpp", + "include/boost/math/special_functions/detail/lambert_w_lookup_table.ipp", + "include/boost/math/statistics/signal_statistics.hpp", + "include/boost/math/tools/bivariate_statistics.hpp", + "include/boost/math/tools/centered_continued_fraction.hpp", + "include/boost/math/tools/color_maps.hpp", + "include/boost/math/tools/engel_expansion.hpp", + "include/boost/math/tools/luroth_expansion.hpp", + "include/boost/math/tools/norms.hpp", + "include/boost/math/tools/recurrence.hpp", + "include/boost/math/tools/signal_statistics.hpp", + "include/boost/math/tools/simple_continued_fraction.hpp", + "include/boost/math/tools/univariate_statistics.hpp", + ], + ), + features = [ + "parse_headers", + ], + includes = ["include"], + textual_hdrs = [ + "include/boost/math/bindings/mpfr.hpp", + "include/boost/math/bindings/mpreal.hpp", + "include/boost/math/bindings/rr.hpp", + "include/boost/math/concepts/distributions.hpp", + "include/boost/math/constants/calculate_constants.hpp", + "include/boost/math/cstdfloat/cstdfloat_complex_std.hpp", + "include/boost/math/differentiation/autodiff_cpp11.hpp", + "include/boost/math/differentiation/lanczos_smoothing.hpp", + "include/boost/math/distributions/empirical_cumulative_distribution_function.hpp", + "include/boost/math/filters/daubechies.hpp", + "include/boost/math/interpolators/cardinal_quadratic_b_spline.hpp", + "include/boost/math/interpolators/cardinal_quintic_b_spline.hpp", + "include/boost/math/interpolators/cardinal_trigonometric.hpp", + "include/boost/math/special_functions/bessel_iterators.hpp", + "include/boost/math/special_functions/chebyshev_transform.hpp", + "include/boost/math/special_functions/daubechies_scaling.hpp", + "include/boost/math/special_functions/daubechies_wavelet.hpp", + "include/boost/math/special_functions/fourier_transform_daubechies.hpp", + "include/boost/math/special_functions/rsqrt.hpp", + "include/boost/math/special_functions/detail/lambert_w_lookup_table.ipp", + "include/boost/math/statistics/signal_statistics.hpp", + "include/boost/math/tools/bivariate_statistics.hpp", + "include/boost/math/tools/centered_continued_fraction.hpp", + "include/boost/math/tools/color_maps.hpp", + "include/boost/math/tools/engel_expansion.hpp", + "include/boost/math/tools/luroth_expansion.hpp", + "include/boost/math/tools/norms.hpp", + "include/boost/math/tools/recurrence.hpp", + "include/boost/math/tools/signal_statistics.hpp", + "include/boost/math/tools/simple_continued_fraction.hpp", + "include/boost/math/tools/univariate_statistics.hpp", + ] + glob([ + "include/boost/math/*/detail/**/*.hpp", + "include/boost/math/ccmath/*.hpp", + ]), + deps = [ + "@boost.assert", + "@boost.concept_check", + "@boost.config", + "@boost.core", + "@boost.integer", + "@boost.lexical_cast", + "@boost.predef", + "@boost.random", + "@boost.static_assert", + "@boost.throw_exception", + ], +) diff --git a/modules/boost.math/1.83.0.bcr.1/overlay/MODULE.bazel b/modules/boost.math/1.83.0.bcr.1/overlay/MODULE.bazel new file mode 120000 index 00000000000..9b599e3ad9c --- /dev/null +++ b/modules/boost.math/1.83.0.bcr.1/overlay/MODULE.bazel @@ -0,0 +1 @@ +../MODULE.bazel \ No newline at end of file diff --git a/modules/boost.math/1.83.0.bcr.1/presubmit.yml b/modules/boost.math/1.83.0.bcr.1/presubmit.yml new file mode 100644 index 00000000000..02bc7828208 --- /dev/null +++ b/modules/boost.math/1.83.0.bcr.1/presubmit.yml @@ -0,0 +1,20 @@ +matrix: + platform: + - debian10 + - debian11 + - macos + - macos_arm64 + - ubuntu2004 + - ubuntu2204 + - ubuntu2404 + - windows + bazel: [7.x, rolling] +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_flags: + - '--process_headers_in_dependencies' + build_targets: + - '@boost.math//:boost.math' diff --git a/modules/boost.math/1.83.0.bcr.1/source.json b/modules/boost.math/1.83.0.bcr.1/source.json new file mode 100644 index 00000000000..1c0093cd9f8 --- /dev/null +++ b/modules/boost.math/1.83.0.bcr.1/source.json @@ -0,0 +1,10 @@ +{ + "integrity": "sha256-U+X3U5pmiZ/g/KMIBAXL1feVnaU5TsE2ZHRnQa7OFwU=", + "strip_prefix": "math-boost-1.83.0", + "url": "https://github.com/boostorg/math/archive/refs/tags/boost-1.83.0.tar.gz", + "patch_strip": 0, + "overlay": { + "MODULE.bazel": "sha256-ZZ0CXIfhsqDu+coAEVa2uWQyA0My6b6dkBMo9EjiIRE=", + "BUILD.bazel": "sha256-0QBIcED4jF8YuEh392NnFhLL8rVkvzAs7HZKqvO7JHs=" + } +} diff --git a/modules/boost.math/metadata.json b/modules/boost.math/metadata.json index cfe6bf541d8..e78e4e6310f 100644 --- a/modules/boost.math/metadata.json +++ b/modules/boost.math/metadata.json @@ -16,7 +16,8 @@ "github:boostorg/math" ], "versions": [ - "1.83.0" + "1.83.0", + "1.83.0.bcr.1" ], "yanked_versions": {} }