On Sat, 12 Jun 2021 09:03:19 GMT, Jie Fu <ji...@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