-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SuiteSparse 6.0.0 is not found #919
Comments
The problem is only with version identification: SuiteSparse 6.0 delimits the version component name from its value by multiple spaces now. Can you try replacing the space after each macro name by ceres-solver/cmake/FindSuiteSparse.cmake Lines 407 to 420 in 5d53d1e
Specifically #define SUITESPARSE_MAIN_VERSION[ \t]+[0-9]+ and so on.
|
Indeed, with the attached patch, SuiteSparse 6.0.1 But note that with the latest versions, SuiteSparse installs its own cmake modules, and this file FindSuiteSparse.cmake is no more needed:
|
Thanks for the feedback. |
Follow-up: fixing ceres-solver is not sufficient, CeresConfig.cmake must also be fixed! Trying to build openturns-1.19 fails with the following error:
|
Unfortunately, your patch is incorrect. Please see my CL which out for review. |
Thanks, this patch is OK! |
Patch from upstream <ceres-solver/ceres-solver#919>. PR: 267746 Approved by: yuri (maintainer) Obtained from: ceres-solver/ceres-solver#919
Trying to build ceres-solver 2.1.0 against SuiteSparse 6.0.0 disables the support of suitesparse:
The text was updated successfully, but these errors were encountered: