Changed to passing full architecture spec to function rather than just platform_os so we can grab the operating system from the platform getters

This commit is contained in:
Mario Melara 2016-06-06 10:29:19 -07:00
parent 835982faed
commit 196737c217

View File

@ -1124,7 +1124,7 @@ def concretize(self):
for s in self.traverse(root=False): for s in self.traverse(root=False):
if s.external_module: if s.external_module:
compiler = spack.compilers.compiler_for_spec(s.compiler, s.architecture.platform_os) compiler = spack.compilers.compiler_for_spec(s.compiler, s.architecture)
for mod in compiler.modules: for mod in compiler.modules:
load_module(mod) load_module(mod)