From 7665076339633ce28750e727aab154634772a05e Mon Sep 17 00:00:00 2001 From: Matthew Lesko Date: Thu, 20 Jun 2024 07:48:38 -0400 Subject: 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(-) (limited to 'var') diff --git a/var/spack/repos/builtin/packages/esmf/package.py b/var/spack/repos/builtin/packages/esmf/package.py index f1f1522a05..c33cfda32e 100644 --- a/var/spack/repos/builtin/packages/esmf/package.py +++ b/var/spack/repos/builtin/packages/esmf/package.py @@ -330,9 +330,8 @@ class Esmf(MakefilePackage): # 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. -- cgit v1.2.3-70-g09d2