Skip to content

Commit

Permalink
Add abseil-cpp LTS 20230802.0 to BCR (bazelbuild#847)
Browse files Browse the repository at this point in the history
  • Loading branch information
morambro authored Aug 17, 2023
1 parent 12d9114 commit eb2c9c0
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 1 deletion.
11 changes: 11 additions & 0 deletions modules/abseil-cpp/20230802.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
"""Module definition for Abseil LTS 20230802.0."""
module(
name = "abseil-cpp",
version = "20230802.0",
compatibility_level = 1,
)
bazel_dep(name = "rules_cc", version = "0.0.8")
bazel_dep(name = "platforms", version = "0.0.7")
bazel_dep(name = "bazel_skylib", version = "1.4.1")
bazel_dep(name = "googletest", version = "1.14.0", repo_name = "com_google_googletest")
bazel_dep(name = "google_benchmark", version = "1.8.2", repo_name = "com_github_google_benchmark")
14 changes: 14 additions & 0 deletions modules/abseil-cpp/20230802.0/patches/module_dot_bazel.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -0,0 +1,11 @@
+"""Module definition for Abseil LTS 20230802.0."""
+module(
+ name = "abseil-cpp",
+ version = "20230802.0",
+ compatibility_level = 1,
+)
+bazel_dep(name = "rules_cc", version = "0.0.8")
+bazel_dep(name = "platforms", version = "0.0.7")
+bazel_dep(name = "bazel_skylib", version = "1.4.1")
+bazel_dep(name = "googletest", version = "1.14.0", repo_name = "com_google_googletest")
+bazel_dep(name = "google_benchmark", version = "1.8.2", repo_name = "com_github_google_benchmark")
16 changes: 16 additions & 0 deletions modules/abseil-cpp/20230802.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
matrix:
platform:
- centos7_java11_devtoolset10
- debian10
- ubuntu2004
- macos
- windows
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
build_flags:
- '--cxxopt=-std=c++14'
build_targets:
- '@abseil-cpp//absl/strings'
- '@abseil-cpp//absl/flags:flag'
9 changes: 9 additions & 0 deletions modules/abseil-cpp/20230802.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-WdKXavnW7PABqBo1dJpuVRozW5SdNJGM+t4Hc3udk8U=",
"strip_prefix": "abseil-cpp-20230802.0",
"url": "https://github.com/abseil/abseil-cpp/archive/refs/tags/20230802.0.tar.gz",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-tppa7eDWtr2QUqOhIzKmHL5DEqUqfMFQIH7tkhFDY8E="
}
}
3 changes: 2 additions & 1 deletion modules/abseil-cpp/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"20210324.2",
"20211102.0",
"20220623.1",
"20230125.1"
"20230125.1",
"20230802.0"
],
"yanked_versions": {}
}

0 comments on commit eb2c9c0

Please sign in to comment.