RFR: 8296872: gtest is built with the build-jdk
Mikael Vidstedt
mikael at openjdk.org
Fri Nov 11 17:45:30 UTC 2022
On Fri, 11 Nov 2022 11:07:39 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> The build-jdk is a JDK built on the current sources that can execute on the build platform. This is needed when cross-compiling, in addition to the boot-jdk (which runs on the build platform, but is an older version of the JDK), and is different from the JDK resulting from the build (which can only execute on the target platform).
>
> If we do not supply a pre-built build-jdk, the build system creates a new, on the fly, before starting the compilation proper.
>
> This build-jdk includes gtest for hotspot, if available. This is just a waste of resources (and actually triggered a bug; which is how it was discovered).
Marked as reviewed by mikael (Reviewer).
-------------
PR: https://git.openjdk.org/jdk/pull/11106
More information about the build-dev
mailing list