From f1f8c00945e6ac5933c2b019e7adacb46b3c9f1a Mon Sep 17 00:00:00 2001 From: Matthew Lesko Date: Thu, 20 Jun 2024 07:48:38 -0400 Subject: [PATCH] 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. --- var/spack/repos/builtin/packages/esmf/package.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/var/spack/repos/builtin/packages/esmf/package.py b/var/spack/repos/builtin/packages/esmf/package.py index 5e4a009e2ebad9..1d8734f67a372a 100644 --- a/var/spack/repos/builtin/packages/esmf/package.py +++ b/var/spack/repos/builtin/packages/esmf/package.py @@ -337,9 +337,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.