Skip to content

Commit fe5d6c3

Browse files
author
Release Manager
committed
gh-38775: Set explicit install name path on macOS suitesparse Without this cvxopt fails to start Fixes #38771 URL: #38775 Reported by: Volker Braun Reviewer(s): Dima Pasechnik
2 parents f853cd7 + 790b04e commit fe5d6c3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/pkgs/suitesparse/spkg-install.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ echo "Configuring suitesparse"
99
# gcc and gfortran version are not matching.
1010
# * SUITESPARSE_ENABLE_PROJECTS semi column separated list of the desired packages. Default is
1111
# all the packages in the suitesparse tarball.
12+
# On macOS ARM cvxopt does not start if suitesparse uses @rpath, set explicit install name dir instead
1213
sdh_cmake -DCMAKE_VERBOSE_MAKEFILE=ON \
14+
-DCMAKE_INSTALL_NAME_DIR="$SAGE_LOCAL/lib" \
15+
-DCMAKE_MACOSX_RPATH=OFF \
1316
-DNSTATIC=ON \
1417
-DSUITESPARSE_USE_FORTRAN=OFF \
1518
-DSUITESPARSE_INCLUDEDIR_POSTFIX="" \

0 commit comments

Comments
 (0)