commit:     e8b922b4248567f93f5df0985c51c028b758c540
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  6 21:00:18 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Nov  6 21:00:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8b922b4

sci-libs/kineto: add 0.4.0_p20240807, drop 0.4.0_p20231127

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-libs/kineto/Manifest                                       |  2 +-
 ...to-0.4.0_p20231127.ebuild => kineto-0.4.0_p20240807.ebuild} | 10 ++++++----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/sci-libs/kineto/Manifest b/sci-libs/kineto/Manifest
index ecca9794d523..e978bd09f2a7 100644
--- a/sci-libs/kineto/Manifest
+++ b/sci-libs/kineto/Manifest
@@ -1,2 +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
+DIST kineto-0.4.0_p20240807.tar.gz 8263052 BLAKE2B 
79a9035939164595f30f55c6cdfdc72ab42fd93d6d8fc63dc028cae50498823916993cb2d856c4b4dc43f4107602e28e8cf70584b4aea4cacda2a700b9e856e3
 SHA512 
f037fac78e566c40108acf9eace55a8f67a2c5b71f298fd3cd17bf22cf05240c260fd89f017fa411656a7505ec9073a06a3048e191251d5cfc4b52c237b37d0b

diff --git a/sci-libs/kineto/kineto-0.4.0_p20231127.ebuild 
b/sci-libs/kineto/kineto-0.4.0_p20240807.ebuild
similarity index 81%
rename from sci-libs/kineto/kineto-0.4.0_p20231127.ebuild
rename to sci-libs/kineto/kineto-0.4.0_p20240807.ebuild
index 3a0dcc58057b..cda618f24d0a 100644
--- a/sci-libs/kineto/kineto-0.4.0_p20231127.ebuild
+++ b/sci-libs/kineto/kineto-0.4.0_p20240807.ebuild
@@ -3,15 +3,16 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 inherit python-any-r1 cmake prefix
 
-CommitId=c7aeac02222978e7673ee5381bfcaa6b60d5d69c
+CommitId=d9753139d181b9ff42872465aac0e5d3018be415
 
 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"
@@ -33,8 +34,6 @@ PATCHES=(
        "${FILESDIR}"/${PN}-0.4.0-gcc13.patch
 )
 
-S="${WORKDIR}"/${PN}-${CommitId}
-
 src_prepare() {
        cd libkineto
        cmake_src_prepare
@@ -44,6 +43,9 @@ src_configure() {
        cd libkineto
        local mycmakeargs=(
                -DLIBKINETO_THIRDPARTY_DIR="${EPREFIX}"/usr/include/
+               -DKINETO_BUILD_TESTS=OFF # tests require cuda toolkit
+               -DCUDA_SOURCE_DIR=/opt/cuda
+               -DLIBKINETO_NOXPUPTI=Yes
        )
        eapply $(prefixify_ro "${FILESDIR}"/${PN}-0.4.0_p20231031-gentoo.patch)
 

Reply via email to