Skip to content

Commit

Permalink
SuiteSparse: update to v1.7.0 (still 5.4.0) (#650)
Browse files Browse the repository at this point in the history
Add SuiteSparse v1.7.0 release:
https://github.com/jlblancoc/suitesparse-metis-for-windows/releases/tag/v1.7.0

A new variable `SuiteSparse_METIS_VERSION` is provided, which will be
useful when `ceres-solver v2.2.0` comes out.

And the generated cmake-config file is fixed, it always assumed to be
built with `WITH_OPENBLAS` because of a missing `@` for substitution.
  • Loading branch information
NeroBurner authored Jan 5, 2023
1 parent 1114433 commit b6dde78
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/configs/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ hunter_default_version(SimpleSignal VERSION 0.0.0-79c3f68-p1)
hunter_default_version(Snappy VERSION 1.1.7)
hunter_default_version(Sober VERSION 0.1.3)
hunter_default_version(Sqlpp11 VERSION 0.57-p0)
hunter_default_version(SuiteSparse VERSION 5.4.0)
hunter_default_version(SuiteSparse VERSION 5.4.0-1)
hunter_default_version(TCLAP VERSION 1.2.2-p1)
hunter_default_version(TIFF VERSION 4.0.2-p5)
hunter_default_version(Tesseract VERSION 3.05.01-hunter-3)
Expand Down
12 changes: 12 additions & 0 deletions cmake/projects/SuiteSparse/hunter.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,18 @@ hunter_add_version(
SHA1
d3131ac76330981150619b05664a75ade58da947
)
## suitesparse-metis-for-windows version is 1.7.0
## suitesparse library version is 5.4.0
hunter_add_version(
PACKAGE_NAME
SuiteSparse
VERSION
"5.4.0-1"
URL
"https://github.com/jlblancoc/suitesparse-metis-for-windows/archive/refs/tags/v1.7.0.tar.gz"
SHA1
8d5f788248a8ca3558855afc556d7be4f7659c40
)

if(HUNTER_SuiteSparse_VERSION VERSION_LESS 5.4.0)
set(_SuiteSparse_BUILD_METIS NO)
Expand Down

0 comments on commit b6dde78

Please sign in to comment.