diff options
author | Jason Zaman <perfinion@gentoo.org> | 2018-10-14 23:44:48 +0800 |
---|---|---|
committer | Jason Zaman <perfinion@gentoo.org> | 2018-10-17 12:45:25 +0800 |
commit | 38f0acd3a2cb845b4f03515c6203d853a0ebc05b (patch) | |
tree | e7ee05de76a0f04904a23b7a902985dbf650aa65 /eclass | |
parent | dev-util/valgrind: version bump to 3.14.0 (diff) | |
download | gentoo-38f0acd3a2cb845b4f03515c6203d853a0ebc05b.tar.gz gentoo-38f0acd3a2cb845b4f03515c6203d853a0ebc05b.tar.bz2 gentoo-38f0acd3a2cb845b4f03515c6203d853a0ebc05b.zip |
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@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/cuda.eclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass index f1c09ca2e453..f8f0822d4e0d 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 " |