Skip to content

Commit 1601689

Browse files
authored
There are changes made in #6179 for `1.88.0.bcr.2` that generally won't get picked up if a new version of boost is added again because of existing `1.89.0` versions since the `add_boost_version.py` script will look to copy from the latest available version assuming it's the most up to date with Bazel. This change aims to bring forward all the improvements made into the latest available versions so future updates are far easier (and I don't have to be the one to do it).
1 parent a5c2c9b commit 1601689

File tree

901 files changed

+16320
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

901 files changed

+16320
-129
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module(
2+
name = "boost.algorithm",
3+
version = "1.89.0.bcr.1",
4+
bazel_compatibility = [">=7.6.0"],
5+
compatibility_level = 108900,
6+
)
7+
8+
bazel_dep(name = "boost.array", version = "1.89.0.bcr.1")
9+
bazel_dep(name = "boost.assert", version = "1.89.0.bcr.1")
10+
bazel_dep(name = "boost.bind", version = "1.89.0.bcr.1")
11+
bazel_dep(name = "boost.concept_check", version = "1.89.0.bcr.1")
12+
bazel_dep(name = "boost.config", version = "1.89.0.bcr.1")
13+
bazel_dep(name = "boost.core", version = "1.89.0.bcr.1")
14+
bazel_dep(name = "boost.exception", version = "1.89.0.bcr.1")
15+
bazel_dep(name = "boost.function", version = "1.89.0.bcr.1")
16+
bazel_dep(name = "boost.iterator", version = "1.89.0.bcr.1")
17+
bazel_dep(name = "boost.mpl", version = "1.89.0.bcr.1")
18+
bazel_dep(name = "boost.range", version = "1.89.0.bcr.1")
19+
bazel_dep(name = "boost.regex", version = "1.89.0.bcr.1")
20+
bazel_dep(name = "boost.static_assert", version = "1.89.0.bcr.1")
21+
bazel_dep(name = "boost.throw_exception", version = "1.89.0.bcr.1")
22+
bazel_dep(name = "boost.tuple", version = "1.89.0.bcr.1")
23+
bazel_dep(name = "boost.type_traits", version = "1.89.0.bcr.1")
24+
bazel_dep(name = "boost.unordered", version = "1.89.0.bcr.1")
25+
bazel_dep(name = "rules_cc", version = "0.2.4")
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
load("@rules_cc//cc:cc_library.bzl", "cc_library")
2+
3+
cc_library(
4+
name = "boost.algorithm",
5+
hdrs = glob(
6+
[
7+
"include/**/*.hpp",
8+
],
9+
exclude = [
10+
"include/boost/algorithm/string/detail/*.hpp",
11+
"include/boost/algorithm/string/std/*.hpp",
12+
"include/boost/algorithm/searching/boyer_moore.hpp",
13+
],
14+
),
15+
features = [
16+
"parse_headers",
17+
],
18+
includes = ["include"],
19+
textual_hdrs = [
20+
"include/boost/algorithm/searching/boyer_moore.hpp",
21+
] + glob([
22+
"include/boost/algorithm/string/detail/*.hpp",
23+
"include/boost/algorithm/string/std/*.hpp",
24+
]),
25+
visibility = ["//visibility:public"],
26+
deps = [
27+
"@boost.array",
28+
"@boost.assert",
29+
"@boost.bind",
30+
"@boost.concept_check",
31+
"@boost.config",
32+
"@boost.core",
33+
"@boost.exception",
34+
"@boost.function",
35+
"@boost.iterator",
36+
"@boost.mpl",
37+
"@boost.range",
38+
"@boost.regex",
39+
"@boost.static_assert",
40+
"@boost.throw_exception",
41+
"@boost.tuple",
42+
"@boost.type_traits",
43+
"@boost.unordered",
44+
],
45+
)
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module(
2+
name = "boost.algorithm",
3+
version = "1.89.0.bcr.1",
4+
bazel_compatibility = [">=7.6.0"],
5+
compatibility_level = 108900,
6+
)
7+
8+
bazel_dep(name = "boost.array", version = "1.89.0.bcr.1")
9+
bazel_dep(name = "boost.assert", version = "1.89.0.bcr.1")
10+
bazel_dep(name = "boost.bind", version = "1.89.0.bcr.1")
11+
bazel_dep(name = "boost.concept_check", version = "1.89.0.bcr.1")
12+
bazel_dep(name = "boost.config", version = "1.89.0.bcr.1")
13+
bazel_dep(name = "boost.core", version = "1.89.0.bcr.1")
14+
bazel_dep(name = "boost.exception", version = "1.89.0.bcr.1")
15+
bazel_dep(name = "boost.function", version = "1.89.0.bcr.1")
16+
bazel_dep(name = "boost.iterator", version = "1.89.0.bcr.1")
17+
bazel_dep(name = "boost.mpl", version = "1.89.0.bcr.1")
18+
bazel_dep(name = "boost.range", version = "1.89.0.bcr.1")
19+
bazel_dep(name = "boost.regex", version = "1.89.0.bcr.1")
20+
bazel_dep(name = "boost.static_assert", version = "1.89.0.bcr.1")
21+
bazel_dep(name = "boost.throw_exception", version = "1.89.0.bcr.1")
22+
bazel_dep(name = "boost.tuple", version = "1.89.0.bcr.1")
23+
bazel_dep(name = "boost.type_traits", version = "1.89.0.bcr.1")
24+
bazel_dep(name = "boost.unordered", version = "1.89.0.bcr.1")
25+
bazel_dep(name = "rules_cc", version = "0.2.4")
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
matrix:
2+
platform:
3+
- debian10
4+
- debian11
5+
- macos
6+
- macos_arm64
7+
- ubuntu2004
8+
- ubuntu2204
9+
- ubuntu2404
10+
- windows
11+
bazel: [7.x, 8.x, rolling]
12+
tasks:
13+
verify_targets:
14+
name: Verify build targets
15+
platform: ${{ platform }}
16+
bazel: ${{ bazel }}
17+
build_flags:
18+
- '--process_headers_in_dependencies'
19+
build_targets:
20+
- '@boost.algorithm//:boost.algorithm'
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"integrity": "sha256-hsV6MwhbmMPTqvExTkt7rYDX26OBQWwQMlNjVdmlGSQ=",
3+
"strip_prefix": "algorithm-boost-1.89.0",
4+
"url": "https://github.com/boostorg/algorithm/archive/refs/tags/boost-1.89.0.tar.gz",
5+
"patch_strip": 0,
6+
"overlay": {
7+
"BUILD.bazel": "sha256-u7k9T2j+z9LpJn8+ta4dAlwyKyIgZ6YeSm5AnO+tWA0=",
8+
"MODULE.bazel": "sha256-zl+w5skpxf+L+D/cFLLai+ImuWpPmBhonrtnWGlfveg="
9+
}
10+
}

modules/boost.algorithm/metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"1.87.0",
2424
"1.88.0.bcr.1",
2525
"1.88.0.bcr.2",
26-
"1.89.0"
26+
"1.89.0",
27+
"1.89.0.bcr.1"
2728
],
2829
"yanked_versions": {}
2930
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module(
2+
name = "boost.align",
3+
version = "1.89.0.bcr.1",
4+
bazel_compatibility = [">=7.6.0"],
5+
compatibility_level = 108900,
6+
)
7+
8+
bazel_dep(name = "boost.assert", version = "1.89.0.bcr.1")
9+
bazel_dep(name = "boost.config", version = "1.89.0.bcr.1")
10+
bazel_dep(name = "boost.core", version = "1.89.0.bcr.1")
11+
bazel_dep(name = "boost.static_assert", version = "1.89.0.bcr.1")
12+
bazel_dep(name = "rules_cc", version = "0.2.4")
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
load("@rules_cc//cc:cc_library.bzl", "cc_library")
2+
3+
cc_library(
4+
name = "boost.align",
5+
hdrs = glob(
6+
[
7+
"include/**/*.hpp",
8+
],
9+
exclude = glob([
10+
"include/boost/align/detail/**/*.hpp",
11+
]),
12+
),
13+
features = [
14+
"parse_headers",
15+
],
16+
includes = ["include"],
17+
textual_hdrs = glob([
18+
"include/boost/align/detail/**/*.hpp",
19+
]),
20+
visibility = ["//visibility:public"],
21+
deps = [
22+
"@boost.assert",
23+
"@boost.config",
24+
"@boost.core",
25+
"@boost.static_assert",
26+
],
27+
)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module(
2+
name = "boost.align",
3+
version = "1.89.0.bcr.1",
4+
bazel_compatibility = [">=7.6.0"],
5+
compatibility_level = 108900,
6+
)
7+
8+
bazel_dep(name = "boost.assert", version = "1.89.0.bcr.1")
9+
bazel_dep(name = "boost.config", version = "1.89.0.bcr.1")
10+
bazel_dep(name = "boost.core", version = "1.89.0.bcr.1")
11+
bazel_dep(name = "boost.static_assert", version = "1.89.0.bcr.1")
12+
bazel_dep(name = "rules_cc", version = "0.2.4")
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
matrix:
2+
platform:
3+
- debian10
4+
- debian11
5+
- macos
6+
- macos_arm64
7+
- ubuntu2004
8+
- ubuntu2204
9+
- ubuntu2404
10+
- windows
11+
bazel: [7.x, 8.x, rolling]
12+
tasks:
13+
verify_targets:
14+
name: Verify build targets
15+
platform: ${{ platform }}
16+
bazel: ${{ bazel }}
17+
build_flags:
18+
- '--process_headers_in_dependencies'
19+
build_targets:
20+
- '@boost.align//:boost.align'

0 commit comments

Comments
 (0)