Integrated: 8296872: gtest is built with the build-jdk

Magnus Ihse Bursie ihse at openjdk.org
Fri Nov 11 21:49:47 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).

This pull request has now been integrated.

Changeset: 7f587e5a
Author:    Magnus Ihse Bursie <ihse at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7f587e5a5cc1b71ced1cd27f748201c6662040bd
Stats:     4 lines in 1 file changed: 2 ins; 0 del; 2 mod

8296872: gtest is built with the build-jdk

Co-authored-by: Mikael Vidstedt <mikael at openjdk.org>
Reviewed-by: dholmes, mikael

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

PR: https://git.openjdk.org/jdk/pull/11106



More information about the build-dev mailing list