Skip to content

Commit 1d9c6d5

Browse files
authored
add mpi spec to the list of specs in relevant spack environments (#261)
1 parent af42c74 commit 1d9c6d5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

stackinator/recipe.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,9 @@ def generate_environment_specs(self, raw):
362362
else:
363363
raise Exception(f"{spec} is not a valid MPI spec")
364364

365+
# add the mpi spec to the list of explicit specs
366+
specs.append(spec)
367+
365368
# if the recipe provided explicit specs for dependencies, inject them:
366369
if config["network"]["specs"]:
367370
specs += config["network"]["specs"]

0 commit comments

Comments
 (0)