From 54e48d94e0c91b805e6e19c6888797386fbd8b59 Mon Sep 17 00:00:00 2001 From: John Cater Date: Tue, 17 Dec 2024 13:29:14 -0500 Subject: [PATCH] Update to use Bazel 7.4.1. This specifically enables the legacy WORKSPACE-based resolution, and disables the new bzlmod-based resolution. Related to #5065 and #5066. Signed-off-by: John Cater --- .bazelrc | 5 +++++ .bazelversion | 2 +- bazel/example/.bazelrc | 5 +++++ bazel/example/.bazelversion | 2 +- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.bazelrc b/.bazelrc index 6532c3cafd9..2b925ab17ac 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1 +1,6 @@ +# Remove once #5066 is resolved. +common --enable_workspace +# Enable once #5066 is resolved. +common --noenable_bzlmod + build --action_env=BAZEL_CXXOPTS="-std=c++17" diff --git a/.bazelversion b/.bazelversion index 19b860c1872..815da58b7a9 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -6.4.0 +7.4.1 diff --git a/bazel/example/.bazelrc b/bazel/example/.bazelrc index 6532c3cafd9..2b925ab17ac 100644 --- a/bazel/example/.bazelrc +++ b/bazel/example/.bazelrc @@ -1 +1,6 @@ +# Remove once #5066 is resolved. +common --enable_workspace +# Enable once #5066 is resolved. +common --noenable_bzlmod + build --action_env=BAZEL_CXXOPTS="-std=c++17" diff --git a/bazel/example/.bazelversion b/bazel/example/.bazelversion index 19b860c1872..815da58b7a9 100644 --- a/bazel/example/.bazelversion +++ b/bazel/example/.bazelversion @@ -1 +1 @@ -6.4.0 +7.4.1