Skip to content

Commit

Permalink
Fix up SuiteSparse upgrade (#2514)
Browse files Browse the repository at this point in the history
* don't build more than necessary (no shared libs)
* don't include suitesparse installation directory in sdist
  • Loading branch information
dweindl authored Sep 27, 2024
1 parent 9a81ad1 commit 8ce245a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/sdist/MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ include LICENSE.md
exclude amici/*.so
exclude amici/*.dll
prune **/build
prune **/install
prune amici/share
prune amici/lib
prune amici/ThirdParty/SuiteSparse/lib
Expand Down
2 changes: 2 additions & 0 deletions scripts/buildSuiteSparse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ cmake -DSUITESPARSE_ENABLE_PROJECTS="amd;btf;colamd;klu" \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
-DSUITESPARSE_USE_64BIT_BLAS=ON \
-DBLAS_LIBRARIES=dummy \
-DBUILD_SHARED_LIBS=OFF \
-DBUILD_TESTING=OFF \
..

cmake --build .
Expand Down

0 comments on commit 8ce245a

Please sign in to comment.