Bug#1102628: nvidia-cuda-toolkit: please make dependency on drivers optional
Andreas Beckmann
anbe at debian.org
Fri Apr 11 21:22:44 BST 2025
On 4/11/25 10:32, Andrea Pappacoda wrote:
> Source: nvidia-cuda-toolkit
> Version: 12.2.140~12.2.2-2
> Would it be possible to make the dependency on the Nvidia drivers optional?
>
> This way I could "cross compile" CUDA code from a device without Nvidia
> GPUs to a device which has.
That already works.
apt-get install --no-install-recommends nvidia-cuda-toolkit does not
pull in nvidia-kernel-dkms or nvidia-driver, but it does pull in
libcuda1 (which is also built from src:nvidia-graphics-drivers).
Andreas
More information about the pkg-nvidia-devel
mailing list