summaryrefslogtreecommitdiff
path: root/ci/linux_gcc-floor_libstdcxx_bazel.sh
diff options
context:
space:
mode:
authorGravatar Derek Mauro <dmauro@google.com>2024-01-11 15:58:39 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2024-01-11 15:59:36 -0800
commit41a2a2555588253dce0e10db4c545463c4a64731 (patch)
tree6f8a1ce5bcec16228c608e0ac7eb7c619cd282f3 /ci/linux_gcc-floor_libstdcxx_bazel.sh
parent3acbe29b14428820cd18857284e082ac9926e314 (diff)
Add support for Bzlmod for the next release
https://bazel.build/external/overview#bzlmod Bzlmod will be the default in a future Bazel release. By default it requires projects to be registered with the Bazel Central Registry (https://registry.bazel.build/) and thus uses regular releases by default. Users that want to "live-at-head" can still do this through with overrides (https://bazel.build/external/module#overrides). This change updates Abseil dependencies to use released versions. CI uses Bzlmod except in the case of linux_gcc-floor, which will keep testing the old WORKSPACE-based dependency system. PiperOrigin-RevId: 597676666 Change-Id: I8d33facc432477c6dc7daa06fd00bb4ae8c4adba
Diffstat (limited to 'ci/linux_gcc-floor_libstdcxx_bazel.sh')
-rwxr-xr-xci/linux_gcc-floor_libstdcxx_bazel.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/linux_gcc-floor_libstdcxx_bazel.sh b/ci/linux_gcc-floor_libstdcxx_bazel.sh
index 68b39994..5bd1dbf8 100755
--- a/ci/linux_gcc-floor_libstdcxx_bazel.sh
+++ b/ci/linux_gcc-floor_libstdcxx_bazel.sh
@@ -59,6 +59,9 @@ if [[ ${KOKORO_GFILE_DIR:-} ]] && [[ -d "${KOKORO_GFILE_DIR}/distdir" ]]; then
BAZEL_EXTRA_ARGS="--distdir=/distdir ${BAZEL_EXTRA_ARGS:-}"
fi
+# TODO(absl-team): This currently uses Bazel 5. When upgrading to a version
+# of Bazel that supports Bzlmod, add --enable_bzlmod=false to keep test
+# coverage for the old WORKSPACE dependency management.
for std in ${STD}; do
for compilation_mode in ${COMPILATION_MODE}; do
for exceptions_mode in ${EXCEPTIONS_MODE}; do