changed architecture.target to architecture.platform_os, so that compiler_for_spec uses operating system strategy
This commit is contained in:
parent
eb96f38298
commit
ccd4a79b39
1 changed files with 1 additions and 1 deletions
|
@ -594,7 +594,7 @@ def compiler(self):
|
|||
if not self.spec.concrete:
|
||||
raise ValueError("Can only get a compiler for a concrete package.")
|
||||
return spack.compilers.compiler_for_spec(self.spec.compiler,
|
||||
self.spec.architecture.target)
|
||||
self.spec.architecture.platform_os)
|
||||
|
||||
|
||||
def url_version(self, version):
|
||||
|
|
Loading…
Reference in a new issue