diff --git a/modules/boost.coroutine/1.83.0.bcr.2/MODULE.bazel b/modules/boost.coroutine/1.83.0.bcr.2/MODULE.bazel new file mode 100644 index 00000000000..73a23885a2e --- /dev/null +++ b/modules/boost.coroutine/1.83.0.bcr.2/MODULE.bazel @@ -0,0 +1,19 @@ +module( + name = "boost.coroutine", + version = "1.83.0.bcr.2", + bazel_compatibility = [">=7.2.1"], + compatibility_level = 108300, +) + +bazel_dep(name = "boost.assert", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.config", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.context", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.core", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.exception", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.move", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.system", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.throw_exception", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.type_traits", version = "1.83.0.bcr.1") +bazel_dep(name = "boost.utility", version = "1.83.0.bcr.1") +bazel_dep(name = "platforms", version = "0.0.10") +bazel_dep(name = "rules_cc", version = "0.0.13") diff --git a/modules/boost.coroutine/1.83.0.bcr.2/overlay/BUILD.bazel b/modules/boost.coroutine/1.83.0.bcr.2/overlay/BUILD.bazel new file mode 100644 index 00000000000..da4da9e16ff --- /dev/null +++ b/modules/boost.coroutine/1.83.0.bcr.2/overlay/BUILD.bazel @@ -0,0 +1,45 @@ +load("@rules_cc//cc:defs.bzl", "cc_library") + +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "boost.coroutine", + srcs = [ + "src/detail/coroutine_context.cpp", + "src/exceptions.cpp", + ] + select({ + "@platforms//os:windows": ["src/windows/stack_traits.cpp"], + "//conditions:default": ["src/posix/stack_traits.cpp"], + }), + hdrs = glob( + [ + "include/**/*.hpp", + ], + exclude = [ + "include/boost/coroutine/detail/**/*.hpp", + "include/boost/coroutine/posix/segmented_stack_allocator.hpp", + "include/boost/coroutine/windows/protected_stack_allocator.hpp", + ], + ), + features = [ + "parse_headers", + ], + includes = ["include"], + textual_hdrs = glob([ + "include/boost/coroutine/detail/**/*.hpp", + "include/boost/coroutine/posix/segmented_stack_allocator.hpp", + "include/boost/coroutine/windows/protected_stack_allocator.hpp", + ]), + deps = [ + "@boost.assert", + "@boost.config", + "@boost.context", + "@boost.core", + "@boost.exception", + "@boost.move", + "@boost.system", + "@boost.throw_exception", + "@boost.type_traits", + "@boost.utility", + ], +) diff --git a/modules/boost.coroutine/1.83.0.bcr.2/overlay/MODULE.bazel b/modules/boost.coroutine/1.83.0.bcr.2/overlay/MODULE.bazel new file mode 120000 index 00000000000..9b599e3ad9c --- /dev/null +++ b/modules/boost.coroutine/1.83.0.bcr.2/overlay/MODULE.bazel @@ -0,0 +1 @@ +../MODULE.bazel \ No newline at end of file diff --git a/modules/boost.coroutine/1.83.0.bcr.2/presubmit.yml b/modules/boost.coroutine/1.83.0.bcr.2/presubmit.yml new file mode 100644 index 00000000000..f848af23579 --- /dev/null +++ b/modules/boost.coroutine/1.83.0.bcr.2/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.coroutine//:boost.coroutine' diff --git a/modules/boost.coroutine/1.83.0.bcr.2/source.json b/modules/boost.coroutine/1.83.0.bcr.2/source.json new file mode 100644 index 00000000000..a0887ce4250 --- /dev/null +++ b/modules/boost.coroutine/1.83.0.bcr.2/source.json @@ -0,0 +1,10 @@ +{ + "integrity": "sha256-HiQlJBznuKTGgXKLya2v9a2Ow4Pl8/nLIuYpUZL6Qlg=", + "strip_prefix": "coroutine-boost-1.83.0", + "url": "https://github.com/boostorg/coroutine/archive/refs/tags/boost-1.83.0.tar.gz", + "patch_strip": 0, + "overlay": { + "MODULE.bazel": "sha256-TNvR7GGXPQO4HQF4AWow/kNcoY2D37TGSPiLflSxOiA=", + "BUILD.bazel": "sha256-5oyavETMegwKpH9XqOXcgzkec8PKPxHIqrD6h34iwbQ=" + } +} diff --git a/modules/boost.coroutine/metadata.json b/modules/boost.coroutine/metadata.json index 084f2a21427..c440fea1fb6 100644 --- a/modules/boost.coroutine/metadata.json +++ b/modules/boost.coroutine/metadata.json @@ -17,7 +17,8 @@ ], "versions": [ "1.83.0", - "1.83.0.bcr.1" + "1.83.0.bcr.1", + "1.83.0.bcr.2" ], "yanked_versions": {} }