summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/concretize.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/spack/spack/concretize.py b/lib/spack/spack/concretize.py
index 58ea83ac4a..9ad5271542 100644
--- a/lib/spack/spack/concretize.py
+++ b/lib/spack/spack/concretize.py
@@ -301,8 +301,9 @@ class DefaultConcretizer(object):
# Should think whether this can be more efficient
def _proper_compiler_style(cspec, architecture):
compilers = spack.compilers.compilers_for_spec(cspec)
- filter(lambda c: c.operating_system == architecture.platform_os, compilers)
- return compilers
+ return filter(lambda c: c.operating_system ==
+ architecture.platform_os, compilers)
+ #return compilers
all_compilers = spack.compilers.all_compilers()