ESMF: set ESMF_LAPACK_LIBPATH if +external-lapack (#44672)

This PR set the `ESMF_LAPACK_LIBPATH` variable (from the `lapack` spec
attributes), removing the previous FIXME and commented example.
This commit is contained in:
Matthew Lesko 2024-06-20 07:48:38 -04:00 committed by GitHub
parent 49ba2d84a0
commit 7665076339
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -330,9 +330,8 @@ def setup_build_environment(self, env):
# ESMF code.
env.set("ESMF_LAPACK", "system")
# FIXME: determine whether or not we need to set this
# Specifies the path where the LAPACK library is located.
# env.set("ESMF_LAPACK_LIBPATH", spec["lapack"].prefix.lib)
env.set("ESMF_LAPACK_LIBPATH", spec["lapack"].prefix.lib)
# Specifies the linker directive needed to link the LAPACK library
# to the application.