Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions modules/boost.coroutine2/1.88.0.bcr.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module(
name = "boost.coroutine2",
version = "1.88.0.bcr.1",
bazel_compatibility = [">=7.6.0"],
compatibility_level = 108800,
)

bazel_dep(name = "boost.assert", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.config", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.context", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.pin_version", version = "1.88.0.bcr.1")
bazel_dep(name = "rules_cc", version = "0.2.4")
38 changes: 38 additions & 0 deletions modules/boost.coroutine2/1.88.0.bcr.1/overlay/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
load("@rules_cc//cc:defs.bzl", "cc_library")

cc_library(
name = "boost.coroutine2",
hdrs = [
"include/boost/coroutine2/all.hpp",
"include/boost/coroutine2/coroutine.hpp",
"include/boost/coroutine2/detail/config.hpp",
"include/boost/coroutine2/detail/coroutine.hpp",
"include/boost/coroutine2/detail/decay_copy.hpp",
"include/boost/coroutine2/detail/disable_overload.hpp",
"include/boost/coroutine2/detail/push_coroutine.hpp",
"include/boost/coroutine2/detail/state.hpp",
"include/boost/coroutine2/detail/wrap.hpp",
"include/boost/coroutine2/pooled_fixedsize_stack.hpp",
"include/boost/coroutine2/protected_fixedsize_stack.hpp",
"include/boost/coroutine2/segmented_stack.hpp",
],
features = ["parse_headers"],
includes = ["include"],
textual_hdrs = [
"include/boost/coroutine2/fixedsize_stack.hpp",
"include/boost/coroutine2/detail/create_control_block.ipp",
"include/boost/coroutine2/detail/pull_control_block_cc.hpp",
"include/boost/coroutine2/detail/pull_control_block_cc.ipp",
"include/boost/coroutine2/detail/pull_coroutine.hpp",
"include/boost/coroutine2/detail/pull_coroutine.ipp",
"include/boost/coroutine2/detail/push_control_block_cc.hpp",
"include/boost/coroutine2/detail/push_control_block_cc.ipp",
"include/boost/coroutine2/detail/push_coroutine.ipp",
],
visibility = ["//visibility:public"],
deps = [
"@boost.assert",
"@boost.config",
"@boost.context",
],
)
1 change: 1 addition & 0 deletions modules/boost.coroutine2/1.88.0.bcr.1/overlay/MODULE.bazel
20 changes: 20 additions & 0 deletions modules/boost.coroutine2/1.88.0.bcr.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
matrix:
platform:
- debian10
- debian11
- macos
- macos_arm64
- ubuntu2004
- ubuntu2204
- ubuntu2404
- windows
bazel: [7.x, 8.x, rolling]
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_flags:
- '--process_headers_in_dependencies'
build_targets:
- '@boost.coroutine2//:boost.coroutine2'
10 changes: 10 additions & 0 deletions modules/boost.coroutine2/1.88.0.bcr.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"integrity": "sha256-CKYz8+KRnhsY9XAZbM2fWwhGoMP8lTAcLBCF2Phw6is=",
"strip_prefix": "coroutine2-boost-1.88.0",
"url": "https://github.com/boostorg/coroutine2/archive/refs/tags/boost-1.88.0.tar.gz",
"patch_strip": 0,
"overlay": {
"BUILD.bazel": "sha256-KzhpeQNVc88i2CN031qJFDQ6jjW7h3+D4+DZ5a8fUGY=",
"MODULE.bazel": "sha256-0R/XN/ydrywt5rJnwYOoy6MCuKumxLES8zfb59bTJ2g="
}
}
1 change: 1 addition & 0 deletions modules/boost.coroutine2/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"github:boostorg/coroutine2"
],
"versions": [
"1.88.0.bcr.1",
"1.89.0"
],
"yanked_versions": {}
Expand Down
14 changes: 14 additions & 0 deletions modules/boost.foreach/1.88.0.bcr.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module(
name = "boost.foreach",
version = "1.88.0.bcr.1",
bazel_compatibility = [">=7.2.1"], # need support for "overlay" directory
compatibility_level = 108800,
)

bazel_dep(name = "boost.config", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.core", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.iterator", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.mpl", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.range", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.type_traits", version = "1.88.0.bcr.1")
bazel_dep(name = "rules_cc", version = "0.2.4")
28 changes: 28 additions & 0 deletions modules/boost.foreach/1.88.0.bcr.1/overlay/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
load("@rules_cc//cc:defs.bzl", "cc_library")
load("//:gen_test_targets.bzl", "gen_test_targets")

cc_library(
name = "boost.foreach",
hdrs = glob([
"include/**/*.hpp",
]),
features = [
"parse_headers",
],
includes = ["include"],
visibility = ["//visibility:public"],
deps = [
"@boost.config",
"@boost.core",
"@boost.iterator",
"@boost.mpl",
"@boost.range",
"@boost.type_traits",
],
)

gen_test_targets(
name = "gen_boost.foreach_test_targets",
cc_srcs = glob(["test/*.cpp"]),
header_srcs = glob(["test/*.hpp"]),
)
1 change: 1 addition & 0 deletions modules/boost.foreach/1.88.0.bcr.1/overlay/MODULE.bazel
21 changes: 21 additions & 0 deletions modules/boost.foreach/1.88.0.bcr.1/overlay/gen_test_targets.bzl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
load("@rules_cc//cc:cc_test.bzl", "cc_test")

def gen_test_targets(name, cc_srcs, header_srcs):
"""Generates a cc_test target for each source file.

Each of boost.foreach's tests have their own main function, so each test
needs to be a separate cc_test target.

Args:
name: name of this macro (unused)
cc_srcs: test files to generate cc_test targets for
header_srcs: header files
"""

for src in cc_srcs:
name = src.removeprefix("test/").removesuffix(".cpp").replace("/", "_") + "_test"
cc_test(
name = name,
srcs = [src] + header_srcs,
deps = [":boost.foreach"],
)
22 changes: 22 additions & 0 deletions modules/boost.foreach/1.88.0.bcr.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
matrix:
platform:
- debian11
- ubuntu2004
- ubuntu2204
- ubuntu2404
- macos
- macos_arm64
- windows
bazel: [7.x, 8.x, rolling]
tasks:
verify_targets:
platform: ${{ platform }}
bazel: ${{ bazel }}
build_flags:
- "--process_headers_in_dependencies"
build_targets:
- "@boost.foreach//:boost.foreach"
test_flags:
- "--process_headers_in_dependencies"
test_targets:
- "@boost.foreach//:all"
10 changes: 10 additions & 0 deletions modules/boost.foreach/1.88.0.bcr.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"url": "https://github.com/boostorg/foreach/archive/refs/tags/boost-1.88.0.tar.gz",
"integrity": "sha256-PVYHPXQWmnfC8iL9gIMSaqZ29mA2yheS4iBNDaVFxhY=",
"strip_prefix": "foreach-boost-1.88.0",
"overlay": {
"BUILD.bazel": "sha256-/oTmGKXLFPKQs/6QTQd7+Tjitfo0PMyvwLrB9DRQvsc=",
"MODULE.bazel": "sha256-dfirsroGAPDFcqS1UBsC6e5HqoC3+3i9ViEvZHA3uGo=",
"gen_test_targets.bzl": "sha256-lLbQ/OGxd/OHAbd/jNqxYTgV5r4ZRkCxuZEqitrr51w="
}
}
1 change: 1 addition & 0 deletions modules/boost.foreach/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"1.83.0.bcr.1",
"1.83.0.bcr.2",
"1.87.0",
"1.88.0.bcr.1",
"1.89.0"
],
"yanked_versions": {}
Expand Down
38 changes: 38 additions & 0 deletions modules/boost.geometry/1.88.0.bcr.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
module(
name = "boost.geometry",
version = "1.88.0.bcr.1",
bazel_compatibility = [">=7.2.1"],
compatibility_level = 108800,
)

bazel_dep(name = "boost.algorithm", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.any", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.array", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.assert", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.concept_check", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.config", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.container", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.core", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.function_types", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.fusion", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.integer", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.iterator", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.lexical_cast", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.math", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.mpl", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.multiprecision", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.numeric_conversion", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.polygon", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.qvm", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.range", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.rational", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.serialization", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.static_assert", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.thread", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.throw_exception", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.tokenizer", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.tuple", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.type_traits", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.variant", version = "1.88.0.bcr.1")
bazel_dep(name = "boost.variant2", version = "1.88.0.bcr.1")
bazel_dep(name = "rules_cc", version = "0.2.4")
64 changes: 64 additions & 0 deletions modules/boost.geometry/1.88.0.bcr.1/overlay/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
load("@rules_cc//cc:defs.bzl", "cc_library")

package(default_visibility = ["//visibility:public"])

cc_library(
name = "boost.geometry",
hdrs = glob(
[
"include/**/*.hpp",
],
exclude = [
"include/boost/geometry/**/detail/**/*.hpp",
"include/boost/geometry/strategies/agnostic/buffer_distance_asymmetric.hpp",
"include/boost/geometry/strategies/agnostic/buffer_distance_symmetric.hpp",
"include/boost/geometry/strategies/buffer.hpp",
"include/boost/geometry/strategy/geographic/area_box.hpp",
"include/boost/geometry/views/enumerate_view.hpp",
],
),
features = [
"parse_headers",
],
includes = ["include"],
textual_hdrs = glob([
"include/boost/geometry/**/detail/**/*.hpp",
"include/boost/geometry/strategies/agnostic/buffer_distance_asymmetric.hpp",
"include/boost/geometry/strategies/agnostic/buffer_distance_symmetric.hpp",
"include/boost/geometry/strategies/buffer.hpp",
"include/boost/geometry/strategy/geographic/area_box.hpp",
"include/boost/geometry/views/enumerate_view.hpp",
]),
deps = [
"@boost.algorithm",
"@boost.any",
"@boost.array",
"@boost.assert",
"@boost.concept_check",
"@boost.config",
"@boost.container",
"@boost.core",
"@boost.function_types",
"@boost.fusion",
"@boost.integer",
"@boost.iterator",
"@boost.lexical_cast",
"@boost.math",
"@boost.mpl",
"@boost.multiprecision",
"@boost.numeric_conversion",
"@boost.polygon",
"@boost.qvm",
"@boost.range",
"@boost.rational",
"@boost.serialization",
"@boost.static_assert",
"@boost.thread",
"@boost.throw_exception",
"@boost.tokenizer",
"@boost.tuple",
"@boost.type_traits",
"@boost.variant",
"@boost.variant2",
],
)
1 change: 1 addition & 0 deletions modules/boost.geometry/1.88.0.bcr.1/overlay/MODULE.bazel
20 changes: 20 additions & 0 deletions modules/boost.geometry/1.88.0.bcr.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
matrix:
platform:
- debian10
- debian11
- macos
- macos_arm64
- ubuntu2004
- ubuntu2204
- ubuntu2404
- windows
bazel: [7.x, 8.x, rolling]
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_flags:
- '--process_headers_in_dependencies'
build_targets:
- '@boost.geometry//:boost.geometry'
10 changes: 10 additions & 0 deletions modules/boost.geometry/1.88.0.bcr.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"integrity": "sha256-rI0J6XUG+ztrSeyDqjbVii9qDeCDnTQRkFkR8w5w4bc=",
"strip_prefix": "geometry-boost-1.88.0",
"url": "https://github.com/boostorg/geometry/archive/refs/tags/boost-1.88.0.tar.gz",
"patch_strip": 0,
"overlay": {
"BUILD.bazel": "sha256-21AZiydn8G43K2crNhEarlLO6qyyRvZ69cycOmTJ20Y=",
"MODULE.bazel": "sha256-MlIVutzZKAGD2S+TXWOext4Yoy8R0HKkHCAaTAEKeuw="
}
}
3 changes: 2 additions & 1 deletion modules/boost.geometry/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"1.83.0.bcr.1",
"1.83.0.bcr.2",
"1.87.0",
"1.87.0.bcr.1"
"1.87.0.bcr.1",
"1.88.0.bcr.1"
],
"yanked_versions": {}
}
Loading
Loading