Skip to content

Commit 0c0a7b4

Browse files
committed
copy easyblocks of components to reprod dir
1 parent ee37956 commit 0c0a7b4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

easybuild/framework/easyblock.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5032,7 +5032,9 @@ def build_and_install_one(ecdict, init_env):
50325032
except EasyBuildError as err:
50335033
_log.warning("Failed to create build environment dump for easyconfig %s: %s", reprod_spec, err)
50345034

5035-
# also add any extension easyblocks used during the build for reproducibility
5035+
# also add any component/extension easyblocks used during the build for reproducibility
5036+
if app.comp_instances:
5037+
copy_easyblocks_for_reprod([comp for cfg, comp in app.comp_instances], reprod_dir)
50365038
if app.ext_instances:
50375039
copy_easyblocks_for_reprod(app.ext_instances, reprod_dir)
50385040
# If not already done remove the granted write permissions if we did so

0 commit comments

Comments
 (0)