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 E866A159C9B for ; Thu, 8 Aug 2024 16:27:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 35FC3E2AE0; Thu, 8 Aug 2024 16:27:47 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0A08BE2ADE for ; Thu, 8 Aug 2024 16:27:47 +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 F06DD3408DD for ; Thu, 8 Aug 2024 16:27:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 397131B9A for ; Thu, 8 Aug 2024 16:27:44 +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: <1723134141.d19faaeaeb03a94746862b82a8820a5fabf72de2.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/kineto/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/kineto/Manifest sci-libs/kineto/kineto-0.4.0_p20240525.ebuild X-VCS-Directories: sci-libs/kineto/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: d19faaeaeb03a94746862b82a8820a5fabf72de2 X-VCS-Branch: master Date: Thu, 8 Aug 2024 16:27:44 +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: 8fbff093-f891-467d-a071-558e9ffe984e X-Archives-Hash: 56cabbf1c88ba1cbeb9b72aa61b826cb commit: d19faaeaeb03a94746862b82a8820a5fabf72de2 Author: Sv. Lockal gmail com> AuthorDate: Thu Aug 8 01:52:49 2024 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Thu Aug 8 16:22:21 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d19faaea sci-libs/kineto: add 0.4.0_p20240525 Changes: * explicitly disable tests: it requires nvcc (left for nvidia users) * new version is set to commit for caffe2 2.4.0 submodule Signed-off-by: Sv. Lockal gmail.com> Signed-off-by: Alfredo Tupone gentoo.org> sci-libs/kineto/Manifest | 1 + sci-libs/kineto/kineto-0.4.0_p20240525.ebuild | 51 +++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/sci-libs/kineto/Manifest b/sci-libs/kineto/Manifest index 5306787a3e16..ecca9794d523 100644 --- a/sci-libs/kineto/Manifest +++ b/sci-libs/kineto/Manifest @@ -1 +1,2 @@ DIST kineto-0.4.0_p20231127.tar.gz 8234629 BLAKE2B ac6e13340817eb283e387e699e70e5113571b258ee3ebf72f2d4a54a6349be22d84701ddec67fbc72d12be3fb0c321a71c8dd64a7f8a6d679522c49f21304fbc SHA512 316db3db624ae36720c0fcabb81f70c31b94ea64f18bc103aeadb75a25e06e113a774a3ec0c769881960ad61f3c2210172ccde1c451df653e7c430fbe89e4d9a +DIST kineto-0.4.0_p20240525.tar.gz 8243259 BLAKE2B 677529d327254c26000271a6c845356604598fb05ba57befd0e5cbd0f112f6776d2851ea1e2a7671a38ee6cb06df45db68ff0435fcddbf69496db43f5ec1e7ee SHA512 41a08c7da9eea7d12402f80a5550c9d4df79798719cc52b12a507828c8c896ba28a37c35d8adf809ca72589e1d84965d5ef6dd01f3f8dc1c803c5ed67b03a43a diff --git a/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild b/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild new file mode 100644 index 000000000000..ecabcbb39cff --- /dev/null +++ b/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild @@ -0,0 +1,51 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..13} ) +inherit python-any-r1 cmake prefix + +CommitId=be1317644c68b4bfc4646024a6b221066e430031 + +DESCRIPTION="part of the PyTorch Profiler" +HOMEPAGE="https://github.com/pytorch/kineto" +SRC_URI="https://github.com/pytorch/${PN}/archive/${CommitId}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}"/${PN}-${CommitId} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + dev-libs/libfmt + dev-libs/dynolog +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( dev-cpp/gtest ) + ${PYTHON_DEPS} +" +RESTRICT="!test? ( test )" + +PATCHES=( + "${FILESDIR}"/${PN}-0.4.0-gcc13.patch +) + +src_prepare() { + cd libkineto + cmake_src_prepare +} + +src_configure() { + cd libkineto + local mycmakeargs=( + -DLIBKINETO_THIRDPARTY_DIR="${EPREFIX}"/usr/include/ + -DKINETO_BUILD_TESTS=OFF # tests require cuda toolkit + ) + eapply $(prefixify_ro "${FILESDIR}"/${PN}-0.4.0_p20231031-gentoo.patch) + + cmake_src_configure +}