From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C171C158094 for ; Wed, 14 Sep 2022 20:52:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0FEA8E098F; Wed, 14 Sep 2022 20:52:25 +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 pigeon.gentoo.org (Postfix) with ESMTPS id E92E5E098F for ; Wed, 14 Sep 2022 20:52:24 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CD996340E85 for ; Wed, 14 Sep 2022 20:52:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1AF88599 for ; Wed, 14 Sep 2022 20:52:22 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1663188677.dfb44a20d723cace8c89d65437c4456bfba39f91.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/caffe2/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/caffe2/caffe2-1.12.0.ebuild X-VCS-Directories: sci-libs/caffe2/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: dfb44a20d723cace8c89d65437c4456bfba39f91 X-VCS-Branch: master Date: Wed, 14 Sep 2022 20:52:22 +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: 4b29c20c-2e6b-47f6-a20e-46a135cc4c38 X-Archives-Hash: 1664e2d7d6106155657533f6cba693eb commit: dfb44a20d723cace8c89d65437c4456bfba39f91 Author: James Beddek posteo de> AuthorDate: Wed Sep 14 12:19:47 2022 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Wed Sep 14 20:51:17 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfb44a20 sci-libs/caffe2: use addpredict /dev/nvidiactl for CUDA version check Closes: https://bugs.gentoo.org/867706 Signed-off-by: James Beddek posteo.de> Closes: https://github.com/gentoo/gentoo/pull/27253 Signed-off-by: Alfredo Tupone gentoo.org> sci-libs/caffe2/caffe2-1.12.0.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sci-libs/caffe2/caffe2-1.12.0.ebuild b/sci-libs/caffe2/caffe2-1.12.0.ebuild index 0a44b6824c3c..366c29f98b7f 100644 --- a/sci-libs/caffe2/caffe2-1.12.0.ebuild +++ b/sci-libs/caffe2/caffe2-1.12.0.ebuild @@ -139,6 +139,8 @@ src_configure() { -DTORCH_INSTALL_LIB_DIR=/usr/$(get_libdir) -DLIBSHM_INSTALL_LIB_SUBDIR=/usr/$(get_libdir) ) + + use cuda && addpredict "/dev/nvidiactl" # bug 867706 cmake_src_configure }