diff options
author | Mario Melara <maamelara@gmail.com> | 2016-05-13 15:04:06 -0700 |
---|---|---|
committer | Mario Melara <maamelara@gmail.com> | 2016-05-13 15:04:06 -0700 |
commit | fce6ecb05c2aa8f025c27f4245994efef2987b38 (patch) | |
tree | d6216c4d0093041f92191334f17e27454e2635ef /lib | |
parent | f43cab0951e5023736d3e332d747e0db212acb72 (diff) | |
download | spack-fce6ecb05c2aa8f025c27f4245994efef2987b38.tar.gz spack-fce6ecb05c2aa8f025c27f4245994efef2987b38.tar.bz2 spack-fce6ecb05c2aa8f025c27f4245994efef2987b38.tar.xz spack-fce6ecb05c2aa8f025c27f4245994efef2987b38.zip |
Changed _proper_compiler_spec to return filtered list. Apparently filter returns a list rather than filtering the original list. Lead to compiler finding problems if user specified frontend compilers
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/concretize.py | 5 |
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() |