jbang icon indicating copy to clipboard operation
jbang copied to clipboard

Add GRAALVM_OPTIONS

Open grumpyf0x48 opened this issue 4 years ago • 2 comments
trafficstars

We may need some options to pass to native_image, for example -H:+AllowIncompleteClasspath.

I have the case for which fails to build in native because of that.

It can be tested by adding the following dependency to the file:

//DEPS info.picocli:picocli-codegen:4.6.1

It would then be great to be able to add options in the Java source file just like we can do it already for JAVA_OPTIONS and JAVAC_OPTIONS.

grumpyf0x48 avatar Aug 02 '21 05:08 grumpyf0x48

I guess that makes sense. Want to make a PR for it ?

maxandersen avatar Aug 02 '21 05:08 maxandersen

i will.

grumpyf0x48 avatar Aug 02 '21 05:08 grumpyf0x48