Source: mumax3
Version: 3.10-4
Severity: serious
Hi,
mumax3 has a build dependency on nvidia-cuda-toolkit, but does not call
nvcc during build to compile the .cu files. I don't think that is intended.
Please make the following additional packaging changes w.r.t. cuda:
* Use Build-Depends: nvidia-cuda-toolkit-gcc instead of nvidia-cuda-toolkit
That results in a deterministic nvcc+gcc combination using the default
cuda compatible GCC version as defined in src:nvidia-cuda-toolkit.
It also provides the /usr/bin/cuda-{gcc,g++} symlinks.
* In case you need to set a host compiler for 'nvcc -ccbin <compiler> ...'
(because e.g. your package build system picks an cuda-incompatible gcc
version by default (i.e. /usr/bin/gcc aka gcc-12)), please use
cuda-g++ (or cuda-gcc) and do not hardcode any version.
Andreas