mirror of
https://github.com/google/googletest.git
synced 2026-02-07 10:19:53 +08:00
Bump Abseil version used by GoogleTest
Making this change requires an update to the CI scripts to ignore warnings coming from external repositories so we don't error on deprecation warnings (RE2 has warnings about deprecated Mutex methods) PiperOrigin-RevId: 853824282 Change-Id: Ic79663943d3b7c8cfa95e9a73b49a7ad761e1eae
This commit is contained in:
parent
5554fcaab4
commit
cb1bd88191
@ -41,7 +41,7 @@ module(
|
||||
|
||||
bazel_dep(
|
||||
name = "abseil-cpp",
|
||||
version = "20250814.0",
|
||||
version = "20260107.0",
|
||||
)
|
||||
bazel_dep(
|
||||
name = "platforms",
|
||||
|
||||
@ -113,6 +113,7 @@ time docker run \
|
||||
--enable_bzlmod=false \
|
||||
--features=external_include_paths \
|
||||
--keep_going \
|
||||
--per_file_copt=\"external/.*@-w\" \
|
||||
--show_timestamps \
|
||||
--test_output=errors \
|
||||
${BAZEL_EXTRA_ARGS:-}"
|
||||
@ -138,6 +139,7 @@ for std in ${STD}; do
|
||||
--enable_bzlmod=true \
|
||||
--features=external_include_paths \
|
||||
--keep_going \
|
||||
--per_file_copt=\"external/.*@-w\" \
|
||||
--show_timestamps \
|
||||
--test_output=errors \
|
||||
${BAZEL_EXTRA_ARGS:-}"
|
||||
@ -167,6 +169,7 @@ for std in ${STD}; do
|
||||
--features=external_include_paths \
|
||||
--keep_going \
|
||||
--linkopt=\"--gcc-toolchain=/usr/local\" \
|
||||
--per_file_copt=\"external/.*@-w\" \
|
||||
--show_timestamps \
|
||||
--test_output=errors \
|
||||
${BAZEL_EXTRA_ARGS:-}"
|
||||
|
||||
@ -81,6 +81,7 @@ for absl in 0 1; do
|
||||
--enable_bzlmod=true \
|
||||
--features=external_include_paths \
|
||||
--keep_going \
|
||||
--per_file_copt="external/.*@-w" \
|
||||
--show_timestamps \
|
||||
--test_output=errors \
|
||||
${BAZEL_EXTRA_ARGS:-}
|
||||
|
||||
@ -65,6 +65,7 @@ IF EXIST "%KOKORO_GFILE_DIR%\distdir\googletest_vendor.tar.gz" (
|
||||
--copt=/WX ^
|
||||
--enable_bzlmod=true ^
|
||||
--keep_going ^
|
||||
--per_file_copt=external/.*@/w ^
|
||||
--test_output=errors ^
|
||||
--test_tag_filters=-no_test_msvc2017 ^
|
||||
%VENDOR_FLAG%
|
||||
@ -79,6 +80,7 @@ IF %errorlevel% neq 0 EXIT /B 1
|
||||
--copt=/WX ^
|
||||
--enable_bzlmod=true ^
|
||||
--keep_going ^
|
||||
--per_file_copt=external/.*@/w ^
|
||||
--test_output=errors ^
|
||||
--test_tag_filters=-no_test_msvc2017 ^
|
||||
%VENDOR_FLAG%
|
||||
|
||||
@ -17,9 +17,9 @@ def googletest_deps():
|
||||
if not native.existing_rule("abseil-cpp"):
|
||||
http_archive(
|
||||
name = "abseil-cpp",
|
||||
sha256 = "9b2b72d4e8367c0b843fa2bcfa2b08debbe3cee34f7aaa27de55a6cbb3e843db",
|
||||
strip_prefix = "abseil-cpp-20250814.0",
|
||||
urls = ["https://github.com/abseil/abseil-cpp/releases/download/20250814.0/abseil-cpp-20250814.0.tar.gz"],
|
||||
sha256 = "4c124408da902be896a2f368042729655709db5e3004ec99f57e3e14439bc1b2",
|
||||
strip_prefix = "abseil-cpp-20260107.0",
|
||||
urls = ["https://github.com/abseil/abseil-cpp/releases/download/20260107.0/abseil-cpp-20260107.0.tar.gz"],
|
||||
)
|
||||
|
||||
if not native.existing_rule("bazel_features"):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user