Changed from_dict to arch_from_dict method
This commit is contained in:
parent
5e4d3e7b82
commit
5989e3f65d
1 changed files with 1 additions and 1 deletions
|
@ -695,7 +695,7 @@ def from_node_dict(node):
|
||||||
spec = Spec(name)
|
spec = Spec(name)
|
||||||
spec.versions = VersionList.from_dict(node)
|
spec.versions = VersionList.from_dict(node)
|
||||||
# TODO: Need to fix the architecture.Target.from_dict
|
# TODO: Need to fix the architecture.Target.from_dict
|
||||||
spec.architecture = spack.architecture.from_dict(node['architecture'])
|
spec.architecture = spack.architecture.arch_from_dict(node['architecture'])
|
||||||
|
|
||||||
if node['compiler'] is None:
|
if node['compiler'] is None:
|
||||||
spec.compiler = None
|
spec.compiler = None
|
||||||
|
|
Loading…
Reference in a new issue