wgrib2: oneapi -> comp_sys="intel_linux" (#43632)
This commit is contained in:
parent
0a26e74cc8
commit
0de8a0e3f3
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ def edit(self, spec, prefix):
|
||||||
makefile.filter(r"^%s=.*" % makefile_option, "{}={}".format(makefile_option, value))
|
makefile.filter(r"^%s=.*" % makefile_option, "{}={}".format(makefile_option, value))
|
||||||
|
|
||||||
def setup_build_environment(self, env):
|
def setup_build_environment(self, env):
|
||||||
if self.spec.compiler.name in "intel":
|
if self.spec.compiler.name in ["oneapi", "intel"]:
|
||||||
comp_sys = "intel_linux"
|
comp_sys = "intel_linux"
|
||||||
elif self.spec.compiler.name in ["gcc", "clang", "apple-clang"]:
|
elif self.spec.compiler.name in ["gcc", "clang", "apple-clang"]:
|
||||||
comp_sys = "gnu_linux"
|
comp_sys = "gnu_linux"
|
||||||
|
|
Loading…
Reference in a new issue