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
|
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.
When doing
eb GCCcore-12.2.0.eb --module-only --rebuildthe EESSI hook fails the installation:See
software-layer-scripts/eb_hooks.py
Line 582 in 41f3775
That attribute is set in the
pre_fetch_hookwhich 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.