RFR: 8337265: Test static-libs build in GitHub Actions

Magnus Ihse Bursie ihse at openjdk.org
Mon Sep 2 11:03:17 UTC 2024


On Sun, 1 Sep 2024 06:37:26 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> This PR modifies the GitHub Actions product build on Linux to include building of the static-libs bundle.
> This is a minimal smoke test to ensure these builds don't break.

Also, you might not be aware of this, but I am working on a redesign of how static libraries are built in the JDK. This has been long overdue but have been put into sharp contrast by the Hermetic Java project. The long-term plan is to compile the .o files only onces, and then link them twice, once for normal dynamic libs, and once for static libs. This will make building static libs essentially free, and when that happens, enabling them on GHA is a no-brainer.

It have only been making slow progress towards that goal due to a number of factors, so I cannot promise that it will done by any specific date, but it is a high priority task for me. 

So you can either try to argue that this should be enabled already, even though it costs extra cycles, or you can wait until the static libs redesign is done, and it will be enabled for free.

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

PR Comment: https://git.openjdk.org/jdk/pull/20803#issuecomment-2324447735


More information about the build-dev mailing list