-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bazel 7.2.1 #175604
bazel 7.2.1 #175604
Conversation
|
bazel: update to use java 21 Signed-off-by: Rui Chen <[email protected]>
5e3b114
to
004ccf1
Compare
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a |
# Force Bazel to use openjdk@21 | ||
ENV["EXTRA_BAZEL_ARGS"] = "--host_javabase=@local_jdk//:jdk" | ||
ENV["JAVA_HOME"] = Language::Java.java_home("11") | ||
ENV["JAVA_HOME"] = Language::Java.java_home("21") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is an issue in the bazel project which mentioned the build args changed bazelbuild/bazel#22789
It appears that --tool_java_runtime_version=local_jdk
is the correct arg now https://github.com/easybuilders/easybuild-easyblocks/blob/064e3e24b4638ed2e20d8ecd3370c2ae459aee68/easybuild/easyblocks/b/bazel.py#L169
Created by
brew bump
Created with
brew bump-formula-pr
.