Changed target to architecture.target
This commit is contained in:
parent
1d484dbe5f
commit
54042e399b
@ -588,11 +588,13 @@ def prefix(self):
|
|||||||
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
#TODO: Change this to architecture
|
||||||
def compiler(self):
|
def compiler(self):
|
||||||
"""Get the spack.compiler.Compiler object used to build this package."""
|
"""Get the spack.compiler.Compiler object used to build this package."""
|
||||||
if not self.spec.concrete:
|
if not self.spec.concrete:
|
||||||
raise ValueError("Can only get a compiler for a concrete package.")
|
raise ValueError("Can only get a compiler for a concrete package.")
|
||||||
return spack.compilers.compiler_for_spec(self.spec.compiler, self.spec.target)
|
return spack.compilers.compiler_for_spec(self.spec.compiler,
|
||||||
|
self.spec.architecture.target)
|
||||||
|
|
||||||
|
|
||||||
def url_version(self, version):
|
def url_version(self, version):
|
||||||
|
Loading…
Reference in New Issue
Block a user