fix(suitesparse)

closes #3643
This commit is contained in:
Jacob Heider 2023-10-13 13:32:16 -04:00
parent e55a45bf3a
commit 2b7b9e2496
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -19,6 +19,15 @@ build:
linux:
gnu.org/make: '*'
script:
# version 7.2.1 shipped without bumping the version number
- run: |
sed -i.bak \
-e 's/^set ( SUITESPARSE_VERSION_MAJOR.*/set ( SUITESPARSE_VERSION_MAJOR {{version.major}} )/' \
-e 's/^set ( SUITESPARSE_VERSION_MINOR.*/set ( SUITESPARSE_VERSION_MINOR {{version.minor}} )/' \
-e 's/^set ( SUITESPARSE_VERSION_SUB.*/set ( SUITESPARSE_VERSION_SUB {{version.patch}} )/' \
CMakeLists.txt
rm CMakeLists.txt.bak
working-directory: SuiteSparse_config
- make library $ARGS CMAKE_OPTIONS="$CMAKE_ARGS"
- make install $ARGS CMAKE_OPTIONS="$CMAKE_ARGS"
env: