From fcceea41288268550e4dce7a952daa069861cc4b Mon Sep 17 00:00:00 2001 From: Jason Zaman Date: Wed, 17 Oct 2018 13:47:36 +0800 Subject: [PATCH] cuda.eclass: fix circular dep for nvidia-cuda-toolkit Signed-off-by: Jason Zaman --- eclass/cuda.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass index f8f0822d4e0d..b78e6514d966 100644 --- a/eclass/cuda.eclass +++ b/eclass/cuda.eclass @@ -41,10 +41,12 @@ inherit flag-o-matic toolchain-funcs # Being verbose during compilation to see underlying commands : ${CUDA_VERBOSE:=true} +if [[ ${PN} != "nvidia-cuda-toolkit" ]]; then DEPEND="dev-util/nvidia-cuda-toolkit" if [[ ${EAPI} != [56] ]]; then BDEPEND="dev-util/nvidia-cuda-toolkit" fi +fi # @FUNCTION: cuda_gccdir # @USAGE: [-f] -- 2.26.2