Add aocc support to ESMF (#42708)
* Add aocc support to ESMF * Update package.py
This commit is contained in:
parent
0507c3c63d
commit
d0c4675a9b
@ -110,6 +110,8 @@ class Esmf(MakefilePackage):
|
||||
# Testing dependencies
|
||||
depends_on("perl", type="test")
|
||||
|
||||
conflicts("%aocc", when="@:8.3")
|
||||
|
||||
# Make esmf build with newer intel versions
|
||||
patch("intel.patch", when="@:7.0 %intel@17:")
|
||||
# Make esmf build with newer gcc versions
|
||||
@ -233,6 +235,8 @@ def setup_build_environment(self, env):
|
||||
env.set("ESMF_COMPILER", "nvhpc")
|
||||
elif self.compiler.name == "cce":
|
||||
env.set("ESMF_COMPILER", "cce")
|
||||
elif self.compiler.name == "aocc":
|
||||
env.set("ESMF_COMPILER", "aocc")
|
||||
else:
|
||||
msg = "The compiler you are building with, "
|
||||
msg += '"{0}", is not supported by ESMF.'
|
||||
|
Loading…
Reference in New Issue
Block a user