Use EasyBuild hooks to limit toolchains possible for specific EESSI version#42
Conversation
|
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws arch:x86_64/amd/zen2 |
|
New job on instance
|
|
New job on instance
|
|
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws arch:x86_64/amd/zen2 |
|
New job on instance
|
|
New job on instance
|
|
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws arch:x86_64/amd/zen2 |
|
New job on instance
|
|
New job on instance
|
|
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws arch:x86_64/amd/zen2 |
|
New job on instance
|
|
New job on instance
|
|
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws arch:x86_64/amd/zen2 |
|
New job on instance
|
|
New job on instance
|
bedroge
left a comment
There was a problem hiding this comment.
Tested this interactively with several attr easyconfigs and both EESSI versions, works as expected.
With a newer toolchain in 2023.06 I got:
Supported toolchains are:
{'name': 'GCC', 'version': '12.2.0'}
{'name': 'GCC', 'version': '12.3.0'}
{'name': 'GCC', 'version': '13.2.0'}
{'name': 'GCCcore', 'version': '12.2.0'}
{'name': 'GCCcore', 'version': '12.3.0'}
{'name': 'GCCcore', 'version': '13.2.0'}
{'name': 'foss', 'version': '2022b'}
{'name': 'foss', 'version': '2023a'}
{'name': 'foss', 'version': '2023b'}
{'name': 'gfbf', 'version': '2022b'}
{'name': 'gfbf', 'version': '2023a'}
{'name': 'gfbf', 'version': '2023b'}
{'name': 'gompi', 'version': '2022b'}
{'name': 'gompi', 'version': '2023a'}
{'name': 'gompi', 'version': '2023b'}
and with an older one in 2025.06:
Supported toolchains are:
{'name': 'GCC', 'version': '13.3.0'}
{'name': 'GCC', 'version': '14.2.0'}
{'name': 'GCCcore', 'version': '13.3.0'}
{'name': 'GCCcore', 'version': '14.2.0'}
{'name': 'foss', 'version': '2024a'}
{'name': 'foss', 'version': '2025a'}
{'name': 'gfbf', 'version': '2024a'}
{'name': 'gfbf', 'version': '2025a'}
{'name': 'gompi', 'version': '2024a'}
{'name': 'gompi', 'version': '2025a'}
This hook restricts the toolchains that can be used with a specific version of EESSI. It also allows sites to define an additional list of supported toolchains via an environment variable, e.g.,
Finally, it supports completely ignoring the check via