RFR: 8320053: GHA: Cross-compile gtest code

Aleksey Shipilev shade at openjdk.org
Tue Nov 14 10:11:39 UTC 2023


Looking at why GHA did not catch [JDK-8320050](https://bugs.openjdk.org/browse/JDK-8320050), even though it builds hotspot, I realized we do not configure the build with gtest, which means we skip the build checks for gtest VM. It would be useful to cross-compile with all tests enabled, even without running them.

(This would probably make sense to do for JDK native code, but AFAICS it would require defining a few new make targets).

Additional testing:
 - [ ] GHA

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

Commit messages:
 - Fix

Changes: https://git.openjdk.org/jdk/pull/16652/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16652&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8320053
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/16652.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16652/head:pull/16652

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


More information about the build-dev mailing list