Bug#1059953: libceres3: ceres-solver built without CUDA support

Francois Mazen mzf at debian.org
Thu Jan 4 15:17:19 GMT 2024


Hi Kip,

> I think the solution is to simply explicitly add nvidia-cuda-dev to the Build-
> Depends stanza of of the ceres-solver source package in debian/control.

The nvidia-cuda-dev package is part of the non-free area in the Debian archive
[1] because if does not comply with the DFSG [2].
If we set it as a build dependency of ceres-solver (and also the nvidia runtime
as a package dependency), it would move ceres-solver from the "main" area to the
"contrib" area of the Debian archive [3] which is likely unwanted.

For GPU acceleration in Debian, you may ask Ceres developers to support free
alternatives like ROCm/HIP, OpenCL or SYCL. Otherwise, you would have to build
the ceres-solver package yourself using the CMake CUDA flag.

Best,
François

[1] https://tracker.debian.org/pkg/nvidia-cuda-toolkit
[2] https://wiki.debian.org/DebianFreeSoftwareGuidelines
[3] https://www.debian.org/doc/debian-policy/ch-archive.html#archive-areas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20240104/bab796bf/attachment.sig>


More information about the debian-science-maintainers mailing list