commit: 38f0acd3a2cb845b4f03515c6203d853a0ebc05b Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> AuthorDate: Sun Oct 14 15:44:48 2018 +0000 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> CommitDate: Wed Oct 17 04:45:25 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38f0acd3
cuda.eclass: Add nvidia-cuda-toolkit dep 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 <AT> gentoo.org> eclass/cuda.eclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass index f1c09ca2e45..f8f0822d4e0 100644 --- a/eclass/cuda.eclass +++ b/eclass/cuda.eclass @@ -41,6 +41,11 @@ inherit flag-o-matic toolchain-funcs # 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 "