Skip to content

Commit

Permalink
gh-38775: Set explicit install name path on macOS suitesparse
Browse files Browse the repository at this point in the history
    
Without this cvxopt fails to start

Fixes #38771
    
URL: #38775
Reported by: Volker Braun
Reviewer(s): Dima Pasechnik
  • Loading branch information
Release Manager committed Oct 11, 2024
2 parents f853cd7 + 790b04e commit fe5d6c3
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 fe5d6c3

Please sign in to comment.