-
Notifications
You must be signed in to change notification settings - Fork 15
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
v0.11.2 has not been released to Bazel registry #401
Comments
Thanks for flagging @marekkrk. The release flow is a little buggy and it failed at |
@sgammon same for 0.12.0 as well... the I guess that neccessarily means using |
How does one actually use rules from Git repos which have not been releases to https://registry.bazel.build? (Both for this, but also generally speaking; I'm curious.) According to https://bazel.build/external/migration something like this in http_file = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
http_file(
name = "rules_graalvm",
sha256 = "",
url = "https://github.com/sgammon/rules_graalvm/archive/2071b847ac7c6206c48df400f6e6a10c28e64400.zip",
)
non_module_dependencies = use_extension("//:extensions.bzl", "non_module_dependencies")
use_repo(non_module_dependencies, "rules_graalvm")
gvm = use_extension("@rules_graalvm//:extensions.bzl", "graalvm")
gvm.graalvm(
name = "graalvm",
distribution = "ce", # `oracle`, `ce`, or `community`
java_version = "23", # `17`, `20`, `22`, `23`, etc.
version = "23.0.0", # pass graalvm or specific jdk version supported by gvm
)
use_repo(gvm, "graalvm")
register_toolchains("@graalvm//:jvm")
register_toolchains("@graalvm//:sdk") but that's giving me:
With that I'm giving up on this, and just sticking to |
That's strange, 0.12.0 is mentioned in README, but the corresponding tag does not exist in repository. |
@vorburger The following works:
|
@marekkrk Thanks for helping here and for noticing that missing tag. Releases have fallen a bit behind since the infra to deploy to BCR is currently broken. I'll try to get that fixed in the next few days. |
@vorburger As mentioned in this thread, you should be able to use these rules with a repository override in |
v0.11.2 tag exists in repository, but not in Bzlmod registry: https://registry.bazel.build/search?q=graal
The text was updated successfully, but these errors were encountered: