-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
When doing eb GCCcore-12.2.0.eb --module-only --rebuild the EESSI hook fails the installation:
== FAILED: Installation ended unsuccessfully: Cannot restore module_only to it's original value: 'self' is missing attribute orig_module_only. (took 2 secs)
See
software-layer-scripts/eb_hooks.py
Line 582 in 41f3775
| raise EasyBuildError("Cannot restore module_only to it's original value: 'self' is missing attribute %s.", |
That attribute is set in the pre_fetch_hook which isn't executed for module-only builds.
The ready hook(s) seem to be executed so maybe it is possible to set the attribute there if it hasn't already been set or simply don't fail when it isn't set which is an indicator the option wasn't changed.
Metadata
Metadata
Assignees
Labels
No labels