Skip to content

Commit

Permalink
Set explicit install name path on macOS
Browse files Browse the repository at this point in the history
Without this cvxopt fails to start
  • Loading branch information
vbraun committed Oct 6, 2024
1 parent b0f09d9 commit 790b04e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/pkgs/suitesparse/spkg-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ echo "Configuring suitesparse"
# gcc and gfortran version are not matching.
# * SUITESPARSE_ENABLE_PROJECTS semi column separated list of the desired packages. Default is
# all the packages in the suitesparse tarball.
# On macOS ARM cvxopt does not start if suitesparse uses @rpath, set explicit install name dir instead
sdh_cmake -DCMAKE_VERBOSE_MAKEFILE=ON \
-DCMAKE_INSTALL_NAME_DIR="$SAGE_LOCAL/lib" \
-DCMAKE_MACOSX_RPATH=OFF \
-DNSTATIC=ON \
-DSUITESPARSE_USE_FORTRAN=OFF \
-DSUITESPARSE_INCLUDEDIR_POSTFIX="" \
Expand Down

0 comments on commit 790b04e

Please sign in to comment.