From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6A20E1580EB for ; Thu, 22 May 2025 16:08:35 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 45D83343135 for ; Thu, 22 May 2025 16:08:35 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 64BBE11049F; Thu, 22 May 2025 16:08:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 59AA411049F for ; Thu, 22 May 2025 16:08:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0F2653430E8 for ; Thu, 22 May 2025 16:08:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 707F92834 for ; Thu, 22 May 2025 16:08:23 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1747930032.9ebc15021d020f41c9960ae8774ae16e24d2ed97.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/nvidia-cuda-toolkit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/nvidia-cuda-toolkit/metadata.xml dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.6.3-r1.ebuild dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.6.3.ebuild dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.8.1-r1.ebuild dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.8.1.ebuild X-VCS-Directories: dev-util/nvidia-cuda-toolkit/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9ebc15021d020f41c9960ae8774ae16e24d2ed97 X-VCS-Branch: master Date: Thu, 22 May 2025 16:08:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e58036de-6373-4d7f-8e9a-fbaf41b5048d X-Archives-Hash: e0cd4461f7c74d90538663a3208c954d commit: 9ebc15021d020f41c9960ae8774ae16e24d2ed97 Author: Paul Zander gmail com> AuthorDate: Thu May 22 11:47:34 2025 +0000 Commit: Sam James gentoo org> CommitDate: Thu May 22 16:07:12 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ebc1502 dev-util/nvidia-cuda-toolkit: add clang useflag to force specific compiler The at-least-one-of dependency on clang or gcc allowed the PM to depclean one of them. If e.g. clang is installed via LLVM_SLOT it allows older gcc to be depcleaned even if it is the system compiler. Causing the hostcompiler lookup to fail. Bug: https://bugs.gentoo.org/956046 Signed-off-by: Paul Zander gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42202 Signed-off-by: Sam James gentoo.org> dev-util/nvidia-cuda-toolkit/metadata.xml | 1 + ...a-toolkit-12.6.3.ebuild => nvidia-cuda-toolkit-12.6.3-r1.ebuild} | 6 ++++-- ...a-toolkit-12.8.1.ebuild => nvidia-cuda-toolkit-12.8.1-r1.ebuild} | 6 ++++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/dev-util/nvidia-cuda-toolkit/metadata.xml b/dev-util/nvidia-cuda-toolkit/metadata.xml index ae4d40199441..b28664c8dab7 100644 --- a/dev-util/nvidia-cuda-toolkit/metadata.xml +++ b/dev-util/nvidia-cuda-toolkit/metadata.xml @@ -6,6 +6,7 @@ Gentoo Science Project + Depend on llvm-core/clang as host compiler Install the CUDA debugger Install profiling and optimizing tools (nsight-compute, nsight-systems) Install the NVIDIA CUDA profiler (nvprof) and the related libraries diff --git a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.6.3.ebuild b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.6.3-r1.ebuild similarity index 99% rename from dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.6.3.ebuild rename to dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.6.3-r1.ebuild index d2845a65dcaf..8415006bd0fa 100644 --- a/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.6.3.ebuild +++ b/dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.6.3-r1.ebuild @@ -31,7 +31,7 @@ SLOT="0/${PV}" # UNSLOTTED # SLOT="${PV}" # SLOTTED KEYWORDS="-* ~amd64 ~arm64 ~amd64-linux ~arm64-linux" -IUSE="debugger examples profiler rdma sanitizer" +IUSE="clang debugger examples profiler rdma sanitizer" RESTRICT="bindist mirror strip test" REQUIRED_USE="${PYTHON_REQUIRED_USE}" @@ -39,8 +39,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" # since CUDA 11, the bundled toolkit driver (== ${DRIVER_PV}) and the # actual required minimum driver version are different. RDEPEND=" - || ( + !clang? (