Upgrade most builds to use Bazel 9.0.0
Keep one build on 8.5.1 to test WORKSPACE Fixes the -Wdeprecated-declaration warnings enabled by default in Bazel 9 that come from the single-arg Invoke(). Fixes the new -Winconsistent-missing-override that we intentionally use in a test. Upgrades RE2 to a version compatible with Bazel 9. PiperOrigin-RevId: 865966282 Change-Id: I5f7c3b60daf5f8a90be08004d96aaa59611e35c4
This commit is contained in:
committed by
Copybara-Service
parent
32c3dce34b
commit
5a9c3f9e8d
@@ -129,7 +129,7 @@ for std in ${STD}; do
|
||||
--rm \
|
||||
--env="CC=/usr/local/bin/gcc" \
|
||||
--env="BAZEL_CXXOPTS=-std=${std}" \
|
||||
--env="USE_BAZEL_VERSION=8.5.1" \
|
||||
--env="USE_BAZEL_VERSION=9.0.0" \
|
||||
${DOCKER_EXTRA_ARGS:-} \
|
||||
${LINUX_LATEST_CONTAINER} \
|
||||
/bin/bash --login -c "
|
||||
@@ -158,7 +158,7 @@ for std in ${STD}; do
|
||||
--rm \
|
||||
--env="CC=/opt/llvm/bin/clang" \
|
||||
--env="BAZEL_CXXOPTS=-std=${std}" \
|
||||
--env="USE_BAZEL_VERSION=8.5.1" \
|
||||
--env="USE_BAZEL_VERSION=9.0.0" \
|
||||
${DOCKER_EXTRA_ARGS:-} \
|
||||
${LINUX_LATEST_CONTAINER} \
|
||||
/bin/bash --login -c "
|
||||
|
||||
Reference in New Issue
Block a user