match bootstrapped compiler to architecture (#14059)
This commit is contained in:
parent
60580f5871
commit
9f1d728646
@ -1509,6 +1509,7 @@ def bootstrap_compiler(self, **kwargs):
|
|||||||
)
|
)
|
||||||
if not compilers:
|
if not compilers:
|
||||||
dep = spack.compilers.pkg_spec_for_compiler(self.spec.compiler)
|
dep = spack.compilers.pkg_spec_for_compiler(self.spec.compiler)
|
||||||
|
dep.architecture = self.spec.architecture
|
||||||
# concrete CompilerSpec has less info than concrete Spec
|
# concrete CompilerSpec has less info than concrete Spec
|
||||||
# concretize as Spec to add that information
|
# concretize as Spec to add that information
|
||||||
dep.concretize()
|
dep.concretize()
|
||||||
|
Loading…
Reference in New Issue
Block a user