Skip to content

Commit

Permalink
Add RE2 release 2023-11-01. (#1078)
Browse files Browse the repository at this point in the history
  • Loading branch information
junyer committed Oct 31, 2023
1 parent e10c801 commit 2980202
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 1 deletion.
27 changes: 27 additions & 0 deletions modules/re2/2023-11-01/MODULE.bazel
@@ -0,0 +1,27 @@
# Copyright 2009 The RE2 Authors. All Rights Reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

# Bazel (http://bazel.build/) MODULE file for RE2.

module(
name = "re2",
version = "2023-11-01",
compatibility_level = 1,
)

bazel_dep(name = "platforms", version = "0.0.8")
bazel_dep(name = "rules_cc", version = "0.0.9")
bazel_dep(name = "abseil-cpp", version = "20230802.0", repo_name = "com_google_absl")
bazel_dep(name = "rules_python", version = "0.26.0")
bazel_dep(name = "pybind11_bazel", version = "2.11.1")

python_configure = use_extension("@pybind11_bazel//:python_configure.bzl", "extension")
python_configure.toolchain(python_version = "3") # ignored when non-root module
use_repo(python_configure, "local_config_python", "pybind11")

# These dependencies will be ignored when the `re2` module is not
# the root module (or when `--ignore_dev_dependency` is enabled).
bazel_dep(name = "google_benchmark", version = "1.8.3", dev_dependency = True)
bazel_dep(name = "googletest", version = "1.14.0.bcr.1", dev_dependency = True)
bazel_dep(name = "abseil-py", version = "1.4.0", dev_dependency = True)
38 changes: 38 additions & 0 deletions modules/re2/2023-11-01/presubmit.yml
@@ -0,0 +1,38 @@
matrix:
platform:
- centos7_java11_devtoolset10
- debian10
- ubuntu2004
- macos
- windows
tasks:
build:
platform: ${{ platform }}
build_flags:
- '--cxxopt=-std=c++14'
build_targets:
- '@re2//:re2'

bcr_test_module:
module_path: '.'

matrix:
platform:
- centos7_java11_devtoolset10
- debian10
- ubuntu2004
- macos
- windows
tasks:
test:
platform: ${{ platform }}
test_flags:
- '--cxxopt=-std=c++14'
test_targets:
- '//:all'
- '-//:dfa_test'
- '-//:exhaustive1_test'
- '-//:exhaustive2_test'
- '-//:exhaustive3_test'
- '-//:exhaustive_test'
- '-//:random_test'
7 changes: 7 additions & 0 deletions modules/re2/2023-11-01/source.json
@@ -0,0 +1,7 @@
{
"integrity": "sha256-goNBrQhSRhimJhZ70yCwwqzJe9HCjv9pOp6jOn7SqF8=",
"strip_prefix": "re2-2023-11-01",
"url": "https://github.com/google/re2/releases/download/2023-11-01/re2-2023-11-01.zip",
"patch_strip": 0,
"patches": {}
}
3 changes: 2 additions & 1 deletion modules/re2/metadata.json
Expand Up @@ -14,7 +14,8 @@
"2021-09-01",
"2023-06-02",
"2023-08-01",
"2023-09-01"
"2023-09-01",
"2023-11-01"
],
"yanked_versions": {
"2023-06-02": "bad compatibility_level, upgrade to 2023-09-01 or newer",
Expand Down

0 comments on commit 2980202

Please sign in to comment.