summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/cuda.eclass')
-rw-r--r--eclass/cuda.eclass5
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 "