diff options
author | Hector Barrios <10837193+he-b@users.noreply.github.com> | 2024-07-02 12:55:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-02 13:55:30 -0400 |
commit | ad665c6af1b16ca80394f48574804e6ce41afca1 (patch) | |
tree | 3250dcd70f2a0a241ed951bd3c120c8d56e9f932 | |
parent | d78d6db61e1b5c64071b86b401aa8115b56693d3 (diff) | |
download | spack-ad665c6af1b16ca80394f48574804e6ce41afca1.tar.gz spack-ad665c6af1b16ca80394f48574804e6ce41afca1.tar.bz2 spack-ad665c6af1b16ca80394f48574804e6ce41afca1.tar.xz spack-ad665c6af1b16ca80394f48574804e6ce41afca1.zip |
fix static linking when using Intel OneAPI mkl (#36991)
-rw-r--r-- | var/spack/repos/builtin/packages/superlu-dist/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/superlu-dist/package.py b/var/spack/repos/builtin/packages/superlu-dist/package.py index e4ccfe3665..4431541a7d 100644 --- a/var/spack/repos/builtin/packages/superlu-dist/package.py +++ b/var/spack/repos/builtin/packages/superlu-dist/package.py @@ -93,8 +93,8 @@ class SuperluDist(CMakePackage, CudaPackage, ROCmPackage): append_define("CMAKE_CXX_COMPILER", spec["mpi"].mpicxx) append_define("CMAKE_INSTALL_LIBDIR", self.prefix.lib) append_define("CMAKE_INSTALL_BINDIR", self.prefix.bin) - append_define("TPL_BLAS_LIBRARIES", spec["blas"].libs) - append_define("TPL_LAPACK_LIBRARIES", spec["lapack"].libs) + append_define("TPL_BLAS_LIBRARIES", spec["blas"].libs.ld_flags) + append_define("TPL_LAPACK_LIBRARIES", spec["lapack"].libs.ld_flags) append_define("TPL_ENABLE_LAPACKLIB", True) append_define("USE_XSDK_DEFAULTS", True) |