diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2024-11-04 10:38:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-04 02:38:16 -0700 |
commit | cf3576a9bbcef2d6c0621e3f409742f0d987f126 (patch) | |
tree | d1bf249d4dbae302d7ec36be030d923e5a8ab863 | |
parent | a86f164835f38b1f525d90dc813ef60d5ab58160 (diff) | |
download | spack-cf3576a9bbcef2d6c0621e3f409742f0d987f126.tar.gz spack-cf3576a9bbcef2d6c0621e3f409742f0d987f126.tar.bz2 spack-cf3576a9bbcef2d6c0621e3f409742f0d987f126.tar.xz spack-cf3576a9bbcef2d6c0621e3f409742f0d987f126.zip |
suite-sparse: fix missing rpaths for dependencies (#47394)
-rw-r--r-- | var/spack/repos/builtin/packages/suite-sparse/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/suite-sparse/package.py b/var/spack/repos/builtin/packages/suite-sparse/package.py index 8b72df6f2d..a6c8fbaed8 100644 --- a/var/spack/repos/builtin/packages/suite-sparse/package.py +++ b/var/spack/repos/builtin/packages/suite-sparse/package.py @@ -249,6 +249,7 @@ class SuiteSparse(Package): # Mongoose directory finds libsuitesparseconfig.so in system # directories like /usr/lib. cmake_args = [ + "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON", f"-DCMAKE_INSTALL_PREFIX={prefix}", f"-DCMAKE_LIBRARY_PATH={prefix.lib}", f"-DBLAS_ROOT={spec['blas'].prefix}", |