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
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.0.2
7.4.0
4 changes: 2 additions & 2 deletions DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ use_relative_paths = True
vars = {
'github': 'https://github.com',

'abseil_revision': '8e45685002488b55f24cb67a795eaa8d1c3297a1',
'abseil_revision': '630e92d5d51d73a1f60ddd7654980ca2eae91582',

'googletest_revision': 'f625681bc4086c35099475f0d17e161f1c6ac9a1',

're2_revision': '03da4fc0857c285e3a26782f6bc8931c4c950df4',
're2_revision': '927f5d53caf8111721e734cf24724686bb745f55',
}

deps = {
Expand Down
7 changes: 4 additions & 3 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Effcee is a C++ library for stateful pattern matching of strings inspired by
LLVM's FileCheck.
"""

bazel_dep(name = "rules_python", version = "0.31.0")
bazel_dep(name = "rules_python", version = "1.6.3")
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
configure_coverage_tool = False,
Expand All @@ -14,8 +14,9 @@ python.toolchain(

bazel_dep(
name = "googletest",
version = "1.14.0",
version = "1.17.0",
dev_dependency = True,
)

bazel_dep(name = "re2", version = "2024-04-01")
bazel_dep(name = "re2", version = "2025-11-05.bcr.1")
# re2 2025-11-05.bcr.1 depends on abseil_cp 20250814.1 which is d38452e1ee03523a208362186fd42248ff2609f6
10 changes: 5 additions & 5 deletions kokoro/macos-clang-release-bazel/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ git config --global --add safe.directory $SRC
cd $SRC
/usr/bin/python3 utils/git-sync-deps

# Get bazel 7.0.2
# Get bazel 7.4.0
gcloud config set auth/disable_credentials True
gcloud storage cp gs://bazel/7.0.2/release/bazel-7.0.2-darwin-x86_64 .
chmod +x bazel-7.0.2-darwin-x86_64
gcloud storage cp gs://bazel/7.4.0/release/bazel-7.4.0-darwin-x86_64 .
chmod +x bazel-7.4.0-darwin-x86_64

echo $(date): Build everything...
./bazel-7.0.2-darwin-x86_64 build --cxxopt=-std=c++17 :all
./bazel-7.4.0-darwin-x86_64 build --cxxopt=-std=c++17 :all
echo $(date): Build completed.

echo $(date): Starting bazel test...
./bazel-7.0.2-darwin-x86_64 test --cxxopt=-std=c++17 :all
./bazel-7.4.0-darwin-x86_64 test --cxxopt=-std=c++17 :all
echo $(date): Bazel test completed.
4 changes: 2 additions & 2 deletions kokoro/scripts/linux/build-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function die {
# This is required to run any git command in the docker since owner will
# have changed between the clone environment, and the docker container.
# Marking the root of the repo as safe for ownership changes.
git config --global --add safe.directory $ROOT_DIR
git config --global --add safe.directory '*'

. /bin/using.sh # Declare the bash `using` function for configuring toolchains.

Expand Down Expand Up @@ -101,7 +101,7 @@ if [ $TOOL = "cmake" ]; then
ctest --output-on-failure --timeout 300
echo $(date): ctest completed.
elif [ $TOOL = "bazel" ]; then
using bazel-7.0.2
using bazel-7.4.0

echo $(date): Build everything...
bazel build --cxxopt=-std=c++17 :all
Expand Down
5 changes: 5 additions & 0 deletions third_party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ if (NOT TARGET absl::base)
set(ABSL_INTERNAL_AT_LEAST_CXX17 ON)
set(ABSL_PROPAGATE_CXX_STD ON)
set(ABSL_ENABLE_INSTALL ON)
if (BUILD_SHARED_LIBS)
set(ABSL_MSVC_STATIC_RUNTIME OFF)
else()
set(ABSL_MSVC_STATIC_RUNTIME ON)
endif()
add_subdirectory(${EFFCEE_ABSEIL_DIR} absl EXCLUDE_FROM_ALL)
endif()
endif()
Expand Down