GHAs and precompiled headers

Thomas Stüfe thomas.stuefe at gmail.com
Mon Jan 24 09:26:30 UTC 2022


On Mon, Jan 24, 2022 at 10:15 AM Aleksey Shipilev <shade at redhat.com> wrote:

> On 1/24/22 8:43 AM, Thomas Stüfe wrote:
> > We generally build without --disable-precompiled-headers in GHAs, which
> > hides errors from missing includes. Since GHAs are very useful to test
> > builds on side platforms, would it not make sense to build without
> > precompiled headers? Or is that too costly?
>
> But... We *do* build Hotspot without PCH in "additional" configurations
> that test different platforms:
>
>
> https://github.com/openjdk/jdk/blob/9bf6ffa19f1ea9efcadb3396d921305c9ec0b1d1/.github/workflows/submit.yml#L408-L432
>
>
Yes, but only Linux. Leaves out macOS and Windows. For people who mainly
use Linux and rely on GHA not to break the other two this is inconvenient.

..Thomas



More information about the build-dev mailing list