EESSI / compatibility-layer

Compatibility layer of the EESSI project
https://eessi.github.io/docs/compatibility_layer
GNU General Public License v2.0
11 stars 21 forks source link

Always set latest GCC in Prefix as default #118

Closed bedroge closed 2 years ago

bedroge commented 3 years ago

We found an issue in 2021.06 where the Prefix installation first installs GCC 10.x, and later on GCC 11.x. The first is the default, but does not have lto support, while the latter has; this lead to some issues when building the software layer. We can prevent this by adding a step to the playbook that runs gcc-config latest, to make sure that the latest version of GCC is set as the default version; this version should have lto support.