summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMatthew Lesko <mattlesko@gmail.com>2024-06-20 07:48:38 -0400
committerGitHub <noreply@github.com>2024-06-20 13:48:38 +0200
commit7665076339633ce28750e727aab154634772a05e (patch)
tree8d65e10c69c4e491cf056b9e9b207665ceb5ca83 /var
parent49ba2d84a0749831751c46e25cac547bcebee730 (diff)
downloadspack-7665076339633ce28750e727aab154634772a05e.tar.gz
spack-7665076339633ce28750e727aab154634772a05e.tar.bz2
spack-7665076339633ce28750e727aab154634772a05e.tar.xz
spack-7665076339633ce28750e727aab154634772a05e.zip
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.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/esmf/package.py3
1 files changed, 1 insertions, 2 deletions
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.