summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Melara <maamelara@gmail.com>2016-06-06 09:05:14 -0700
committerMario Melara <maamelara@gmail.com>2016-06-06 09:05:14 -0700
commit5b023bb0a1b2eef9d950cb660b466d2ab0e04349 (patch)
tree1bc7f5c25a06d40f6d39bad5ed4a649d3803d459
parentc7b48f6fef92167b55d901e47a50e3f704fd65ec (diff)
downloadspack-5b023bb0a1b2eef9d950cb660b466d2ab0e04349.tar.gz
spack-5b023bb0a1b2eef9d950cb660b466d2ab0e04349.tar.bz2
spack-5b023bb0a1b2eef9d950cb660b466d2ab0e04349.tar.xz
spack-5b023bb0a1b2eef9d950cb660b466d2ab0e04349.zip
Passing through full arch instead of just operating sysystem so that we can use the platform to get the operating system
-rw-r--r--lib/spack/spack/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py
index 0edb70e4ca..1a6c289bc7 100644
--- a/lib/spack/spack/package.py
+++ b/lib/spack/spack/package.py
@@ -682,7 +682,7 @@ class Package(object):
if not self.spec.concrete:
raise ValueError("Can only get a compiler for a concrete package.")
return spack.compilers.compiler_for_spec(self.spec.compiler,
- self.spec.architecture.platform_os)
+ self.spec.architecture)
def url_version(self, version):
"""