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
signature.asc
Description: This is a digitally signed message part

