From cf3576a9bbcef2d6c0621e3f409742f0d987f126 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Mon, 4 Nov 2024 10:38:16 +0100 Subject: suite-sparse: fix missing rpaths for dependencies (#47394) --- var/spack/repos/builtin/packages/suite-sparse/package.py | 1 + 1 file changed, 1 insertion(+) 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}", -- cgit v1.2.3-70-g09d2