Skip to content

Commit

Permalink
ESMF: set ESMF_LAPACK_LIBPATH if +external-lapack (spack#44672)
Browse files Browse the repository at this point in the history
This PR set the `ESMF_LAPACK_LIBPATH` variable (from the `lapack` spec
attributes), removing the previous FIXME and commented example.
  • Loading branch information
nyetsche authored and climbfuji committed Jun 28, 2024
1 parent 8ba0bba commit f1f8c00
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions var/spack/repos/builtin/packages/esmf/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f1f8c00

Please sign in to comment.