diff --git a/projects/people.engr.tamu.edu/davis/suitesparse/package.yml b/projects/people.engr.tamu.edu/davis/suitesparse/package.yml index 270908dd..4dc0f5dd 100644 --- a/projects/people.engr.tamu.edu/davis/suitesparse/package.yml +++ b/projects/people.engr.tamu.edu/davis/suitesparse/package.yml @@ -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: