Skip to content

Commit e3d56b2

Browse files
committed
also copy exts patches to central repo
1 parent 1ccf30a commit e3d56b2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

easybuild/framework/easyblock.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5119,7 +5119,10 @@ def ensure_writable_log_dir(log_dir):
51195119
block = det_full_ec_version(app.cfg) + ".block"
51205120
repo.add_easyconfig(ecdict['original_spec'], app.name, block, buildstats, currentbuildstats)
51215121
repo.add_easyconfig(spec, app.name, det_full_ec_version(app.cfg), buildstats, currentbuildstats)
5122-
for patch in app.patches:
5122+
patches = app.patches
5123+
for ext in app.exts:
5124+
patches += ext.get('patches', [])
5125+
for patch in patches:
51235126
repo.add_patch(patch['path'], app.name)
51245127
repo.commit("Built %s" % app.full_mod_name)
51255128
del repo

0 commit comments

Comments
 (0)