Skip to content
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

Clean up toolchain registration #124

Merged
merged 2 commits into from
Sep 19, 2023
Merged

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented Sep 11, 2023

No description provided.

@fmeum fmeum requested a review from sgammon as a code owner September 11, 2023 07:26
@fmeum fmeum force-pushed the clean-up-toolchains branch 2 times, most recently from 7767291 to 0398f6c Compare September 11, 2023 07:28
If `graalvm_repository`'s `toolchain` argument is `False`, a toolchain
for use with `native_image` should still be generated.

Signed-off-by: Fabian Meumertzheim <fabian@meumertzhe.im>
@fmeum fmeum changed the title fix: always create GraalVM native toolchain Clean up toolchain registration Sep 11, 2023
Custom Java runtimes (those neither defined by the user nor rules_java)
should not match on `--java_runtime_version` set to a version without a
prefix as that can result in unexpected Java toolchain resolution
results.

By making this change now, we can consider registering both Java and GVM
toolchains automatically with Bzlmod in follow-up changes.

Signed-off-by: Fabian Meumertzheim <fabian@meumertzhe.im>
@sonarcloud
Copy link

sonarcloud bot commented Sep 11, 2023

Please retry analysis of this Pull-Request directly on SonarCloud.

@sgammon sgammon merged commit adc56e1 into sgammon:main Sep 19, 2023
61 checks passed
@fmeum fmeum deleted the clean-up-toolchains branch September 19, 2023 11:15
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants