From 1b44d493c8e330d81e36f8d5246587a0c5431ab7 Mon Sep 17 00:00:00 2001 From: Steffen Smolka Date: Tue, 17 Dec 2024 17:26:05 -0800 Subject: [PATCH] Upgrade Bazel 6 -> 7. Signed-off-by: Steffen Smolka --- bazel/example/.bazelrc | 4 +++- bazel/example/.bazelversion | 2 +- proto/.bazelrc | 4 +++- proto/.bazelversion | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/bazel/example/.bazelrc b/bazel/example/.bazelrc index be255a80..4fea8e53 100644 --- a/bazel/example/.bazelrc +++ b/bazel/example/.bazelrc @@ -1,4 +1,6 @@ -# bazelrc file +# Flip when we add Bzlmod support (#518). +common --enable_workspace +common --noenable_bzlmod # C++14 required for recent gRPC versions build --cxxopt='-std=c++14' diff --git a/bazel/example/.bazelversion b/bazel/example/.bazelversion index f22d756d..815da58b 100644 --- a/bazel/example/.bazelversion +++ b/bazel/example/.bazelversion @@ -1 +1 @@ -6.5.0 +7.4.1 diff --git a/proto/.bazelrc b/proto/.bazelrc index be255a80..4fea8e53 100644 --- a/proto/.bazelrc +++ b/proto/.bazelrc @@ -1,4 +1,6 @@ -# bazelrc file +# Flip when we add Bzlmod support (#518). +common --enable_workspace +common --noenable_bzlmod # C++14 required for recent gRPC versions build --cxxopt='-std=c++14' diff --git a/proto/.bazelversion b/proto/.bazelversion index f22d756d..815da58b 100644 --- a/proto/.bazelversion +++ b/proto/.bazelversion @@ -1 +1 @@ -6.5.0 +7.4.1