summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGregory Becker <becker33@llnl.gov>2016-03-02 15:59:23 -0800
committerGregory Becker <becker33@llnl.gov>2016-03-02 15:59:23 -0800
commitffb9574312e8b6368c7696c2eadd17e46ec9a400 (patch)
tree97a4aa9f293430d54435647e3bff882ce247f6e8 /lib
parent6e7b00a0f6229a2c1df7a5b2f7244bdf5a793d65 (diff)
downloadspack-ffb9574312e8b6368c7696c2eadd17e46ec9a400.tar.gz
spack-ffb9574312e8b6368c7696c2eadd17e46ec9a400.tar.bz2
spack-ffb9574312e8b6368c7696c2eadd17e46ec9a400.tar.xz
spack-ffb9574312e8b6368c7696c2eadd17e46ec9a400.zip
fixed type/bug
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/compilers/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/compilers/__init__.py b/lib/spack/spack/compilers/__init__.py
index 32885062fd..b50ad02b07 100644
--- a/lib/spack/spack/compilers/__init__.py
+++ b/lib/spack/spack/compilers/__init__.py
@@ -225,7 +225,7 @@ def compiler_for_spec(compiler_spec, operating_system):
be concrete."""
assert(compiler_spec.concrete)
compilers = [c for c in compilers_for_spec(compiler_spec)
- if c.strategy == operating_system.strategy]
+ if c.strategy == operating_system.compiler_strategy]
if len(compilers) < 1:
raise NoCompilerForSpecError(compiler_spec, target)
if len(compilers) > 1: