Skip to content

Commit

Permalink
Add RE2 release 2023-06-02. (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
junyer committed Jun 1, 2023
1 parent 7e41384 commit e32cddb
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 2 deletions.
10 changes: 10 additions & 0 deletions modules/re2/2023-06-02/MODULE.bazel
@@ -0,0 +1,10 @@
module(
name = "re2",
version = "2023-06-02",
compatibility_level = 11,
)

bazel_dep(name = "rules_cc", version = "0.0.6")
bazel_dep(name = "platforms", version = "0.0.6")
bazel_dep(name = "abseil-cpp", version = "20230125.1", repo_name = "com_google_absl")
bazel_dep(name = "googletest", version = "1.12.1", repo_name = "com_google_googletest")
13 changes: 13 additions & 0 deletions modules/re2/2023-06-02/patches/module_dot_bazel.patch
@@ -0,0 +1,13 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -0,0 +1,10 @@
+module(
+ name = "re2",
+ version = "2023-06-02",
+ compatibility_level = 11,
+)
+
+bazel_dep(name = "rules_cc", version = "0.0.6")
+bazel_dep(name = "platforms", version = "0.0.6")
+bazel_dep(name = "abseil-cpp", version = "20230125.1", repo_name = "com_google_absl")
+bazel_dep(name = "googletest", version = "1.12.1", repo_name = "com_google_googletest")
28 changes: 28 additions & 0 deletions modules/re2/2023-06-02/presubmit.yml
@@ -0,0 +1,28 @@
matrix:
platform:
- centos7_java11_devtoolset10
- debian10
- ubuntu2004
- macos
- windows
tasks:
build_and_test:
platform: ${{ platform }}
build_flags:
- '--cxxopt=-std=c++14'
build_targets:
- '@re2//:all'
- '-@re2//:benchmark'
- '-@re2//:regexp_benchmark'
test_flags:
- '--cxxopt=-std=c++14'
test_targets:
- '@re2//:all'
- '-@re2//:benchmark'
- '-@re2//:regexp_benchmark'
- '-@re2//:dfa_test'
- '-@re2//:exhaustive1_test'
- '-@re2//:exhaustive2_test'
- '-@re2//:exhaustive3_test'
- '-@re2//:exhaustive_test'
- '-@re2//:random_test'
9 changes: 9 additions & 0 deletions modules/re2/2023-06-02/source.json
@@ -0,0 +1,9 @@
{
"integrity": "sha256-HWHq3eRzAacQfKP6j66hqO3fH5uQIRMNniM3aSLoyGc=",
"strip_prefix": "re2-2023-06-02",
"url": "https://github.com/google/re2/releases/download/2023-06-02/re2-2023-06-02.zip",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-yVczUziJokEqTp19tz2JMt/KCQhpd58IAaPEqH+ZNZg="
}
}
11 changes: 9 additions & 2 deletions modules/re2/metadata.json
@@ -1,11 +1,18 @@
{
"homepage": "https://github.com/google/re2",
"maintainers": [],
"maintainers": [
{
"email": "junyer@google.com",
"github": "junyer",
"name": "Paul Wankadia"
}
],
"repository": [
"github:google/re2"
],
"versions": [
"2021-09-01"
"2021-09-01",
"2023-06-02"
],
"yanked_versions": {}
}

0 comments on commit e32cddb

Please sign in to comment.