match bootstrapped compiler to architecture (#14059)

This commit is contained in:
Greg Becker 2019-12-14 16:42:46 -08:00 committed by Todd Gamblin
parent 60580f5871
commit 9f1d728646

View File

@ -1509,6 +1509,7 @@ def bootstrap_compiler(self, **kwargs):
)
if not compilers:
dep = spack.compilers.pkg_spec_for_compiler(self.spec.compiler)
dep.architecture = self.spec.architecture
# concrete CompilerSpec has less info than concrete Spec
# concretize as Spec to add that information
dep.concretize()