diff options
author | Mario Melara <maamelara@gmail.com> | 2016-06-06 10:29:19 -0700 |
---|---|---|
committer | Mario Melara <maamelara@gmail.com> | 2016-06-06 10:29:19 -0700 |
commit | 196737c2173a7b5748b3ad59e349611ec4f6b23c (patch) | |
tree | 510db0edba327b9ab68d2e77f0f332c75e7246e5 /lib | |
parent | 835982faedc0d728356600836caf2dd4690a9c5b (diff) | |
download | spack-196737c2173a7b5748b3ad59e349611ec4f6b23c.tar.gz spack-196737c2173a7b5748b3ad59e349611ec4f6b23c.tar.bz2 spack-196737c2173a7b5748b3ad59e349611ec4f6b23c.tar.xz spack-196737c2173a7b5748b3ad59e349611ec4f6b23c.zip |
Changed to passing full architecture spec to function rather than just platform_os so we can grab the operating system from the platform getters
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/spec.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py index 89c03a13b7..7718adb72c 100644 --- a/lib/spack/spack/spec.py +++ b/lib/spack/spack/spec.py @@ -1124,7 +1124,7 @@ class Spec(object): for s in self.traverse(root=False): 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: load_module(mod) |