We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
generated_modules()
1 parent 3544756 commit 95c3271Copy full SHA for 95c3271
reframe/core/buildsystems.py
@@ -892,24 +892,6 @@ def prepare_cmds(self):
892
893
return cmds
894
895
- def post_build(self, buildjob):
896
- # Store the modules generated by Spack
897
-
898
- with open(os.path.join(self._prefix_save, buildjob.stdout)) as fp:
899
- out = fp.read()
900
901
- matches = re.findall(r'\[\+\] \S+/spack/opt/spack/\S+/(\S+)',
902
- out)
903
- self._modules = []
904
- for mod in matches:
905
- mod = os.path.basename(mod)
906
- name, version, hashid = mod.rsplit('-', maxsplit=2)
907
- self._modules.append(f'{name}@{version}/{hashid}')
908
909
- @property
910
- def generated_modules(self):
911
- return self._modules
912
913
914
class BuildSystemField(fields.TypedField):
915
def __init__(self, fieldname, *other_types):
0 commit comments