rules_graalvm icon indicating copy to clipboard operation
rules_graalvm copied to clipboard

Build GraalVM native binaries with Bazel

Results 40 rules_graalvm issues
Sort by recently updated
recently updated
newest added

There are equivalent flags we could be providing to `native-image`.

enhancement

Java libraries can include their own `jvm_flags`; we should set these as `-R:...` flags during the `native-image` build, so that they behave the same when built natively. Reference: https://bazel.build/reference/be/java#rules

enhancement

We should add a rule which matches functionality in the Gradle and Maven plugins for building test binaries with `native-image`. The behavior is not that different from the standard rule:...

good first issue
feature
native-image

Currently, building a Native Image target with coverage enabled yields a nasty error, which boils down to: ``` Caused by: java.lang.NoClassDefFoundError: org/jacoco/agent/rt/internal_43a39aa/Offline at jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVM.resolvePossiblyCachedConstantInPool(Native Method) at jdk.internal.vm.ci/jdk.vm.ci.hotspot.CompilerToVM.resolvePossiblyCachedConstantInPool(CompilerToVM.java:283) at jdk.internal.vm.ci/jdk.vm.ci.hotspot.HotSpotConstantPool.lookupConstant(HotSpotConstantPool.java:668) at...

bug
native-image

We don't yet have all the GraalVM Maven artifacts declared in the "catalog" aliases.

enhancement

Since GraalVM 21 (SDK release `23.1.x`), the JPMS `--module-path` plays a larger role: support for polyglot language VMs with GVM's supported suite of languages now depends on Maven artifacts, instead...

enhancement

Since GraalVM's original rule set, new support has dropped: now, a user can add multiple configurations in several cases (JNI, reflection, resources), and GraalVM will merge these before applying. Unfortunately,...

enhancement

We will need some optional outputs attached to `native-image` targets like: - #226 - Debug symbols - Build reports - Dashboard dumps

good first issue
feature

When building a Native Image as a shared library, users will want to make use of those outputs downstream, most obviously in `cc_*` targets. The following would be great: ```starlark...

feature
native-image

In rare cases, a `native-image` target needs various JARs available at _native compile time_ only, so classes can be referenced for compile-time directive mechanisms like [GraalVM Features](https://www.graalvm.org/sdk/javadoc/org/graalvm/nativeimage/hosted/Feature.html). Most of the...

bug