The eclass checked for nvidia-cuda-toolkit but was missing the DEPEND.
Also for EAPI7 both DEPEND and BDEPEND are needed for the compiler and
libraries.
Closes: https://bugs.gentoo.org/654168
Signed-off-by: Jason Zaman <perfinion@gentoo.org>
# Being verbose during compilation to see underlying commands
: ${CUDA_VERBOSE:=true}
+DEPEND="dev-util/nvidia-cuda-toolkit"
+if [[ ${EAPI} != [56] ]]; then
+ BDEPEND="dev-util/nvidia-cuda-toolkit"
+fi
+
# @FUNCTION: cuda_gccdir
# @USAGE: [-f]
# @RETURN: gcc bindir compatible with current cuda, optionally (-f) prefixed with "--compiler-bindir "