add generic hooks for unsupported modules#91
Merged
ocaisa merged 4 commits intoEESSI:mainfrom Sep 26, 2025
Merged
Conversation
ocaisa
reviewed
Sep 26, 2025
…nstead of having them in the generic hook
…tware-layer-scripts into hook_for_unsupported_modules
ocaisa
approved these changes
Sep 26, 2025
Member
ocaisa
left a comment
There was a problem hiding this comment.
LGTM, tested for the Zen4 case
Member
|
bot: build repo:eessi.io-2023.06-software instance:eessi-bot-mc-aws for:arch=x86_64/amd/zen2 |
|
New job on instance
|
|
New job on instance
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This makes the existing zen4 pre_fetch / pre_module / post_module hooks a bit more generic, so that they can also be used for adding dummy modulefiles for other unsupported modules. The function
is_unsupported_moduleis used to determine if something is unsupported, and if so, which environment variable can be used to ignore the LmodError of that module.The hooks are also applied to make a module file with an LmodError for Rust 1.65.0 on A64FX.
Tested locally by building Rust 1.65.0 for A64FX with EESSI-extend:
And also tested by building a 2022b easyconfig for Zen4: