Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boost.config@1.86.0 #2700

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
8 changes: 8 additions & 0 deletions modules/boost.config/1.86.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module(
name = "boost.config",
version = "1.86.0",
bazel_compatibility = [">=7.2.1"],
compatibility_level = 108600,
)

bazel_dep(name = "rules_cc", version = "0.0.9")
16 changes: 16 additions & 0 deletions modules/boost.config/1.86.0/overlay/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
load("@rules_cc//cc:defs.bzl", "cc_library")

cc_library(
name = "boost.config",
hdrs = glob(
[
"include/**/*.hpp",
"include/**/*.h",
],
),
features = [
"parse_headers",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of the headers are not meant to be included and should be moved into textual_hdrs.

],
includes = ["include"],
visibility = ["//visibility:public"],
)
1 change: 1 addition & 0 deletions modules/boost.config/1.86.0/overlay/MODULE.bazel
10 changes: 10 additions & 0 deletions modules/boost.config/1.86.0/overlay/test/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
cc_test(
name = "no_cxx14_pass",
srcs = [
"boost_no_cxx14.ipp",
"no_cxx14_pass.cpp",
],
deps = [
"@boost.config",
],
)
5 changes: 5 additions & 0 deletions modules/boost.config/1.86.0/overlay/test/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bazel_dep(name = "boost.config")
local_path_override(
module_name = "boost.config",
path = "..",
)
42 changes: 42 additions & 0 deletions modules/boost.config/1.86.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
matrix:
platform:
- debian10
- debian11
- macos
- macos_arm64
- ubuntu2004
- ubuntu2204
- windows
bazel: [7.x]
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_flags:
- '--process_headers_in_dependencies'
build_targets:
- '@boost.config//:boost.config'
bcr_test_module:
module_path: test
matrix:
platform:
- debian10
- debian11
- macos
- macos_arm64
- ubuntu2004
- ubuntu2204
- windows
bazel: [7.x]
tasks:
run_test_module:
name: Run test module
platform: ${{ platform }}
bazel: ${{ bazel }}
build_flags:
- '--process_headers_in_dependencies'
build_targets:
- //...
test_targets:
- //...
12 changes: 12 additions & 0 deletions modules/boost.config/1.86.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"integrity": "sha256-v+0XvsA4uOlPXxjROvnnIAVI+4Vfoz8C5B0iD1z1tBo=",
"strip_prefix": "config-boost-1.86.0",
"url": "https://github.com/boostorg/config/archive/refs/tags/boost-1.86.0.tar.gz",
"patch_strip": 0,
"overlay": {
"BUILD.bazel": "sha256-ebhtWihwfQTrehztdLmnilS9auqwzSbgK0mv9Iuwblo=",
"MODULE.bazel": "sha256-U8+5Lo1y0MjRbv2fmI5T57lSYU0qvO2J9kwkHTxY9GE=",
"test/BUILD.bazel": "sha256-kwLekSUoKJObukvi6tBSFzg/pA8IYTIZpBvmP5WP4DQ=",
"test/MODULE.bazel": "sha256-Ihc2IoS9IZp/hISw2W8FQnbvaa7ezhPdBs25yylH8V4="
}
}
3 changes: 2 additions & 1 deletion modules/boost.config/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"github:boostorg/config"
],
"versions": [
"1.83.0"
"1.83.0",
"1.86.0"
],
"yanked_versions": {}
}
Loading