mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
parent
e55a45bf3a
commit
2b7b9e2496
1 changed files with 9 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue