diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/wrf/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/wrf/package.py b/var/spack/repos/builtin/packages/wrf/package.py index 609dadde12..69a5a7fb60 100644 --- a/var/spack/repos/builtin/packages/wrf/package.py +++ b/var/spack/repos/builtin/packages/wrf/package.py @@ -197,8 +197,8 @@ class Wrf(Package): if "Please select from among the following" in outputbuf: options = collect_platform_options(outputbuf) comp_pair = "%s/%s" % ( - basename(self.compiler.fc), - basename(self.compiler.cc), + basename(self.compiler.fc).split("-")[0], + basename(self.compiler.cc).split("-")[0], ) compiler_matches = dict( (x, y) for x, y in options.items() if comp_pair in x.lower() |