eth-cscs / stackinator

https://eth-cscs.github.io/stackinator/
BSD 3-Clause "New" or "Revised" License
18 stars 15 forks source link

add gcc recipe with patch for gcc12.3.0 on GH #166

Closed simonpintarelli closed 6 months ago

simonpintarelli commented 7 months ago

gcc 12.3.0 had an ICE in aarch64 SVE: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111478

It failed to compile q-e-sirius and py-scipy for example.

Add gcc to local repository together with a patch obtained from https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=9d033155254ac6df5f47ab32896dbf336f991589

msimberg commented 7 months ago
simonpintarelli commented 7 months ago

Can this patch be upstreamed (to spack) instead?

I'll submit the PR to spack directly and see what happens. I'm not sure how it is handled correctly. I think at some point a new gcc 12.3.1 will be released including this patch.

What will happen when the gcc package is updated upstream? For how long would > you keep this package definition here to replace the one from upstream?

For sure the patch/package should be removed from stackinator once a gcc release is available which includes this patch.

simonpintarelli commented 7 months ago

@msimberg I've opened a PR in spack: https://github.com/spack/spack/pull/43093

Let's drop this PR if they merged it.

simonpintarelli commented 6 months ago

Closing this PR. The patch for gcc12/13 have been merged in spack@develop.