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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D56D7158013 for ; Wed, 6 Dec 2023 19:49:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 19BBD2BC01A; Wed, 6 Dec 2023 19:49:37 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 00E952BC01A for ; Wed, 6 Dec 2023 19:49:36 +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 DC6E73407E6 for ; Wed, 6 Dec 2023 19:49:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 253A213D5 for ; Wed, 6 Dec 2023 19:49:34 +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: <1701892156.a30ecc1b69628e20faa989943ff1b0dda32d9d69.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-2.1.1.ebuild X-VCS-Directories: sci-libs/caffe2/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: a30ecc1b69628e20faa989943ff1b0dda32d9d69 X-VCS-Branch: master Date: Wed, 6 Dec 2023 19:49:34 +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: 8df06464-e4ef-4505-aa06-f8d0ff91cf12 X-Archives-Hash: 9b5579ff21f5d3e691d075955ca696f1 commit: a30ecc1b69628e20faa989943ff1b0dda32d9d69 Author: Alfredo Tupone gentoo org> AuthorDate: Wed Dec 6 19:48:46 2023 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Wed Dec 6 19:49:16 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a30ecc1b sci-libs/caffe2: install nvfuser python module Bug: https://bugs.gentoo.org/914572 Signed-off-by: Alfredo Tupone gentoo.org> sci-libs/caffe2/caffe2-2.1.1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sci-libs/caffe2/caffe2-2.1.1.ebuild b/sci-libs/caffe2/caffe2-2.1.1.ebuild index e5e9a71069cd..65c5c2831826 100644 --- a/sci-libs/caffe2/caffe2-2.1.1.ebuild +++ b/sci-libs/caffe2/caffe2-2.1.1.ebuild @@ -135,7 +135,6 @@ src_configure() { -DUSE_CCACHE=OFF -DUSE_CUDA=$(usex cuda) -DUSE_CUDNN=$(usex cuda) - -DUSE_FAST_NVCC=$(usex cuda) -DTORCH_CUDA_ARCH_LIST="${TORCH_CUDA_ARCH_LIST:-3.5 7.0}" -DBUILD_NVFUSER=$(usex cuda) -DUSE_DISTRIBUTED=$(usex distributed) @@ -204,7 +203,12 @@ src_install() { mkdir -p python/torch/include || die mv "${ED}"/usr/lib/python*/site-packages/caffe2 python/ || die mv "${ED}"/usr/include/torch python/torch/include || die + mv "${ED}${S}"/nvfuser python/nvfuser || die + rm -r "${ED}${S}"/test || die + rm -r "${ED}${S}"/third_party || die cp torch/version.py python/torch/ || die python_domodule python/caffe2 python_domodule python/torch + python_domodule python/nvfuser + find "${ED}" -empty -delete }