temp
This commit is contained in:
parent
11b62114bb
commit
3fc1344865
@ -817,6 +817,8 @@ def from_node_dict(node):
|
|||||||
elif 'variants' in node:
|
elif 'variants' in node:
|
||||||
for name, value in node['variants'].items():
|
for name, value in node['variants'].items():
|
||||||
spec.variants[name] = VariantSpec(name, value)
|
spec.variants[name] = VariantSpec(name, value)
|
||||||
|
for name in FlagMap.valid_compiler_flags():
|
||||||
|
spec.compiler_flags[name] = []
|
||||||
else:
|
else:
|
||||||
raise SpackRecordError("Did not find a valid format for variants in YAML file")
|
raise SpackRecordError("Did not find a valid format for variants in YAML file")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user