[jdk17] RFR: 8268643: SVML lib shouldn't be generated when C2 is absent

Erik Joelsson erikj at openjdk.java.net
Mon Jun 14 12:58:05 UTC 2021


On Sat, 12 Jun 2021 09:03:19 GMT, Jie Fu <jiefu at openjdk.org> wrote:

> Hi all,
> 
> SVML lib shouldn't be generated when C2 is absent.
> This is because it is only used by C2.
> 
> Thanks.
> Best regards,
> Jie

make/autoconf/jvm-features.m4 line 571:

> 569:   ENABLE_CDS="true"
> 570:   INCLUDE_JVMCI="true"
> 571:   INCLUDE_COMPILER2="true"

I would recommend inverting this logic so that it works properly in the (unlikely) even that two or more JVM variants are built into the same JDK. I assume we want this library built if any JVM variant has c2.

-------------

PR: https://git.openjdk.java.net/jdk17/pull/37



More information about the build-dev mailing list