Skip to content
Merged
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
29 changes: 29 additions & 0 deletions modules/re2/2025-11-05.bcr.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 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 = "2025-11-05.bcr.1",
compatibility_level = 1,
)

bazel_dep(name = "platforms", version = "1.0.0")
bazel_dep(name = "apple_support", version = "1.24.2")
bazel_dep(name = "rules_cc", version = "0.2.14")
bazel_dep(name = "abseil-cpp", version = "20250814.1")
bazel_dep(name = "rules_python", version = "1.6.3")
bazel_dep(name = "pybind11_bazel", version = "3.0.0")

# This is a temporary hack for `x64_x86_windows`.
# TODO(junyer): Remove whenever no longer needed.
cc_configure = use_extension("@rules_cc//cc:extensions.bzl", "cc_configure_extension", dev_dependency = True)
use_repo(cc_configure, "local_config_cc")

# 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.9.4", dev_dependency = True)
bazel_dep(name = "googletest", version = "1.17.0.bcr.2", dev_dependency = True)
bazel_dep(name = "abseil-py", version = "2.1.0", dev_dependency = True)
58 changes: 58 additions & 0 deletions modules/re2/2025-11-05.bcr.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
matrix:
platform:
- rockylinux8
- debian10
- ubuntu2004
- macos
bazel:
- 7.x
- 8.x
- 9.*

tasks:
unix_build:
platform: ${{ platform }}
bazel: ${{ bazel }}
build_flags:
- '--cxxopt=-std=c++17'
build_targets:
- '@re2//:re2'
- '@re2//python:re2'
windows_build:
platform: windows
bazel: ${{ bazel }}
build_flags:
- '--cxxopt=/std:c++17'
build_targets:
- '@re2//:re2'
- '@re2//python:re2'

bcr_test_module:
module_path: '.'
matrix:
platform:
- rockylinux8
- debian10
- ubuntu2004
- macos
- windows
bazel:
- 7.x
- 8.x
tasks:
unix_test:
platform: ${{ platform }}
bazel: ${{ bazel }}
test_flags:
- '--cxxopt=-std=c++17'
test_targets:
- '//:small_tests'
- '//python:all'
windows_test:
platform: windows
bazel: ${{ bazel }}
test_flags:
- '--cxxopt=/std:c++17'
test_targets:
- '//:small_tests'
- '//python:all'
5 changes: 5 additions & 0 deletions modules/re2/2025-11-05.bcr.1/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"integrity": "sha256-x7Gnp8aNLXz400PcVmVcG1qMiq3twBfbRT1MHYkTuEQ=",
"strip_prefix": "re2-2025-11-05",
"url": "https://github.com/google/re2/releases/download/2025-11-05/re2-2025-11-05.zip"
}
3 changes: 2 additions & 1 deletion modules/re2/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"2025-06-26",
"2025-08-12",
"2025-08-12.bcr.1",
"2025-11-05"
"2025-11-05",
"2025-11-05.bcr.1"
],
"yanked_versions": {
"2023-06-02": "bad compatibility_level, upgrade to 2023-09-01 or newer",
Expand Down
Loading