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
This commit is contained in:
parent
f43cab0951
commit
fce6ecb05c
@ -301,8 +301,9 @@ def concretize_compiler(self, spec):
|
||||
# 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()
|
||||
|
Loading…
Reference in New Issue
Block a user