Skip to content

Commit b16e36f

Browse files
Increase Bazel version requirement to 7.4.1 in root.workspace
PiperOrigin-RevId: 781735741
1 parent ce4b994 commit b16e36f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.bazelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,7 @@ build --copt=-Wno-macro-redefined # absl vs tsl logging clash
106106
build --copt=-Wno-sign-compare # int as loop variable
107107
build --copt=-Wno-deprecated-declarations
108108
build --copt=-Wno-unused-but-set-variable # due to `ifdefs` in ml_dtypes
109+
110+
# Revert to the legacy WORKSPACE dependency resolution system
111+
# and disable Bzlmod.
112+
common --enable_bzlmod=false

WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ tf_serving_workspace()
3838

3939
# Check bazel version requirement, which is stricter than TensorFlow's.
4040
load("@bazel_skylib//lib:versions.bzl", "versions")
41-
versions.check("6.5.0")
41+
versions.check("7.4.1")
4242

4343
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4444

0 commit comments

Comments
 (0)