ESMF should use Spack wrappers directly (#35749)

This commit is contained in:
Brian Vanderwende 2023-03-08 02:21:51 -07:00 committed by GitHub
parent b06648eb64
commit cbd0770497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -200,8 +200,8 @@ def setup_build_environment(self, env):
env.set("ESMF_CXX", spec["mpi"].mpicxx)
env.set("ESMF_F90", spec["mpi"].mpifc)
else:
env.set("ESMF_CXX", env["CXX"])
env.set("ESMF_F90", env["FC"])
env.set("ESMF_CXX", spack_cxx)
env.set("ESMF_F90", spack_fc)
# This environment variable controls the build option.
if "+debug" in spec: