Skip to content

Commit 790b04e

Browse files
committed
Set explicit install name path on macOS
Without this cvxopt fails to start
1 parent b0f09d9 commit 790b04e

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)