SuiteSparse icon indicating copy to clipboard operation
SuiteSparse copied to clipboard

Official Conan 2.0 Package for SuiteSparse

Open karel-tomanec opened this issue 2 months ago • 2 comments

Hello,

Would it be possible to provide an official Conan package for SuiteSparse that is compatible with Conan 2.0?

All that would be needed is to create a Conan recipe (a small conanfile.py describing how to build and package SuiteSparse). Once that’s done, it can be published on ConanCenter, making SuiteSparse much easier to integrate into modern C++ projects.

Thank you for considering this!

karel-tomanec avatar Oct 08 '25 08:10 karel-tomanec

I gave adding SuiteSparse to ConanCenter a fair shot about a year ago, but it went absolutely nowhere, unfortunately: https://github.com/conan-io/conan-center-index/issues/5763#issuecomment-2056267818

This is among one of the reasons why I gave up on trying to contribute to CC and recommend keeping an eye on this fork instead: https://github.com/conan-kiln/kiln One of its core focuses is to provide the best possible support for numerical libraries and related domains.

Here's a list of recipes on Kiln that already directly rely on SuiteSparse, for example: aligator, basalt, casadi, ceres-solver, coin-clp, eigenpy, g2o, glomap, ladel, mrcal, nanoeigenpy, octave, osqp, qpswift, sleqp, sundials, superlu_mt, superscs.

valgur avatar Oct 08 '25 14:10 valgur

I'm open to adding anything you might need to SuiteSparse to make it easier to integrate, but I wouldn't know how to do that myself.

DrTimothyAldenDavis avatar Oct 08 '25 15:10 DrTimothyAldenDavis