On 11/6/24 6:46 AM, Baesken, Matthias wrote:

Hi, I wanted to try to build a JVM on Linux x86_64 with JVMCI disabled (just to check how the JVM behaves in a test).

The configure help output shows a long  list how to enable those features

--enable-jvm-feature-cds

enable jvm feature 'cds' (enable class data sharing (CDS))

[...]

For disabling it seems the syntax  --enable-jvm-feature-jvmci=no  seems to work .

Looking into make/autoconf/jvm-features.m4  this seems to be true for all  JVM features .

Should we add this to the help output  ?

Would be useful to have some sentence like  --enable-jvm-feature-<name>=no can be used to disable a JVM feature .

Should we add this to the configure help  ?

I think `--disable-xxx` is the more usual autoconf way.  Though expecting users to just know that doesn't seem right, so having the help text say something about it seems like a good idea.  But the relevant help text is probably (mostly?) automatically generated by the built-in autoconf tooling.

Reply via email to