You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diff --git a/WORKSPACE b/WORKSPACE
index 0caf8c3d20..f7db0158c0 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -47,6 +47,7 @@ load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig")
# Creates a default toolchain config for RBE.
rbe_autoconfig(
name = "rbe_jdk11",
+ bazel_version = "4.0.0",
java_home = "/usr/lib/jvm/11.29.3-ca-jdk11.0.2/reduced",
use_checked_in_confs = "Force",
)
It works and the I see this log output:
DEBUG: /home/davido/.cache/bazel/_bazel_davido/5c01f4f713b675540b8b424c5c647f63/external/bazel_toolchains/rules/rbe_repo.bzl:492:10: Bazel 4.0.0 is used in rbe_jdk11.
@davido Sorry, bazel-toolchains 4.x and the rbe-ubuntu1604 container are no longer maintained. Your workaround looks fine to me! While you're on 4.x, I would recommend to bump your version to bazel-toolchains 4.1.0 to avoid hitting another incompatibility that we found.
We're also currently researching and figuring out how to make it easy to switch to bazel-toolchains 5.x, but I'm about to go on vacation for two weeks, so I'll follow up on that when I'm back.
We cannot build Gerrit on RBE with new and shiny Bazel 4.1.0 release yet (released earlier today):
@philwo
Can we automate it? Or add a TODO to the Bazel release process, to avoid the delay?
The text was updated successfully, but these errors were encountered: