diff --git a/MODULE.bazel b/MODULE.bazel index 5b32557f..c07e6a93 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -41,7 +41,7 @@ module( bazel_dep( name = "abseil-cpp", - version = "20250814.0", + version = "20260107.0", ) bazel_dep( name = "platforms", diff --git a/ci/linux-presubmit.sh b/ci/linux-presubmit.sh index c4ad5791..9842f4c2 100644 --- a/ci/linux-presubmit.sh +++ b/ci/linux-presubmit.sh @@ -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:-}" diff --git a/ci/macos-presubmit.sh b/ci/macos-presubmit.sh index 12c8d2bd..4278ec27 100644 --- a/ci/macos-presubmit.sh +++ b/ci/macos-presubmit.sh @@ -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:-} diff --git a/ci/windows-presubmit.bat b/ci/windows-presubmit.bat index 267e2e97..de3de5a8 100644 --- a/ci/windows-presubmit.bat +++ b/ci/windows-presubmit.bat @@ -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% diff --git a/googletest_deps.bzl b/googletest_deps.bzl index 9b5c041e..13770005 100644 --- a/googletest_deps.bzl +++ b/googletest_deps.bzl @@ -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"):