Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Wed, 17 Oct 2018 05:49:37
Message-Id: 1539755322.fcceea41288268550e4dce7a952daa069861cc4b.perfinion@gentoo
1 commit: fcceea41288268550e4dce7a952daa069861cc4b
2 Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 17 05:47:36 2018 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 17 05:48:42 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcceea41
7
8 cuda.eclass: fix circular dep for nvidia-cuda-toolkit
9
10 Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
11
12 eclass/cuda.eclass | 2 ++
13 1 file changed, 2 insertions(+)
14
15 diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass
16 index f8f0822d4e0..b78e6514d96 100644
17 --- a/eclass/cuda.eclass
18 +++ b/eclass/cuda.eclass
19 @@ -41,10 +41,12 @@ inherit flag-o-matic toolchain-funcs
20 # Being verbose during compilation to see underlying commands
21 : ${CUDA_VERBOSE:=true}
22
23 +if [[ ${PN} != "nvidia-cuda-toolkit" ]]; then
24 DEPEND="dev-util/nvidia-cuda-toolkit"
25 if [[ ${EAPI} != [56] ]]; then
26 BDEPEND="dev-util/nvidia-cuda-toolkit"
27 fi
28 +fi
29
30 # @FUNCTION: cuda_gccdir
31 # @USAGE: [-f]