summaryrefslogtreecommitdiff
path: root/sci-libs/kineto
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-08-13 11:06:03 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-08-13 11:06:03 +0100
commitbe8708090362c01c6111c4b76f1e395c14d86e00 (patch)
treebb61ca73e867522450783849eb63c9e1f0ba1730 /sci-libs/kineto
parente93a38d535f2c29b55a5756d2de99425986b0bf3 (diff)
gentoo auto-resync : 13:08:2024 - 11:06:03
Diffstat (limited to 'sci-libs/kineto')
-rw-r--r--sci-libs/kineto/Manifest3
-rw-r--r--sci-libs/kineto/files/kineto-0.4.0_p20240525-libfmt-11.patch91
-rw-r--r--sci-libs/kineto/kineto-0.4.0_p20240525.ebuild3
3 files changed, 95 insertions, 2 deletions
diff --git a/sci-libs/kineto/Manifest b/sci-libs/kineto/Manifest
index f43113ef3944..0a2ea370fba4 100644
--- a/sci-libs/kineto/Manifest
+++ b/sci-libs/kineto/Manifest
@@ -1,7 +1,8 @@
AUX kineto-0.4.0-gcc13.patch 255 BLAKE2B 5633abeae41fd306a6d66d4e0f72040abbcc27b052a9802c94235c4afcff5ed99f3ac0df9ed712c6d4a57345d666442ea89bcc84f9f7d333d2ec77be9246a1d5 SHA512 db55567e22355f7ca98959f6a385b103474b2aeed0684f48e0c2e043754defc888fbd6ae997c3e5909329777d662b2e4e1b85520192da7fcae32845798c4565d
AUX kineto-0.4.0_p20231031-gentoo.patch 2997 BLAKE2B 123603ac81512b12800a0ef82fd0f573891c4170a16156f87afbdb7004608cf2593eccd23541aa2f042137762dc5d4a1d4013e9fa42303fb8e60066f96529030 SHA512 e7f4d0c7418cb3d4b00cd231b03692dd6b0fd3c29d54f6db557bb87d4ab000e5020d03fffec1583b7c2df8b0431e7f263a4c892eadc16e04ce8af2c9032b47fe
+AUX kineto-0.4.0_p20240525-libfmt-11.patch 2191 BLAKE2B c6fec2eb3f79222d1224572801864d55759b75ea73de6273566b83a47dfdb051235da1290021125a113cd6152e24cf753b177890d022d98e3904e346eb47b54a SHA512 e039c0c0845cf807eb6550ff6f9de1e736786df7b78ec4aac370025377e28c64dcb05e776040244c43d819ed3fe0200ae50d8b4d1f77d34ab0c3819c01ab14b8
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
EBUILD kineto-0.4.0_p20231127.ebuild 957 BLAKE2B a62c333c0089d569a33f62e7618982740a5178dba049e89e9f62933a342612893e439095e7ec1c534efdebd1dd61d3c3bd6b53ba3cfe95ed8692ca19ce2ee813 SHA512 98ab412ff156c0b065e2a517798f0ad03c8d5205d017d246bd9392a6d574cdceb0df056288eb83018eaad406493e80e69e65a0a7d6a0c5465e9c2ebad4d122ac
-EBUILD kineto-0.4.0_p20240525.ebuild 1012 BLAKE2B 047fb6d8bf364b59fa8c9b3c34a24525416c3c051fe612a9a36d7c20910ff7a95403bc518c0953f5d9efd96bedde510b7ba911740e3d5f3ea240318fa4487804 SHA512 320312d83868d35bda4586714a04fb495602190125539a9b1a1e563676c1ec41853c13d4f2340a2e3fd047336aa9126c2d6d9a0202c6af215dcc7c2a5bc12ecb
+EBUILD kineto-0.4.0_p20240525.ebuild 1067 BLAKE2B d8bf1c1c5b4e8c407ca1d1716895f3a5ccb95f4a691901fe84bd2e637e43fb01610addfba0a983c1461721fda33f95fa4cbe2d30ad4a32965f585f38eecbe949 SHA512 db4b499cd3c8973d4ce40e35588b91bbb3177292d3989251084c3cf2167f6225ab2ff9de317155fe48037b9bf977d1017e62f2585298aea5beba9dc3ae671550
MISC metadata.xml 327 BLAKE2B f48b87396bdfbc5a12b807941e162b596bbf760252fbfd08dc05ef8aeb9dcd8fc1b0ed3c8d4ec5f531da5a7315a041b8db7b0f6449c86fc52fba4f6d4476beb5 SHA512 9f6906e171f530b6f5de417338af00c26681fe757d823b4ab88cb9749506404c2d9baa96ea3c71c4fe523f6f5877a81e20f2378abe4a2e9895e501829e3fe85d
diff --git a/sci-libs/kineto/files/kineto-0.4.0_p20240525-libfmt-11.patch b/sci-libs/kineto/files/kineto-0.4.0_p20240525-libfmt-11.patch
new file mode 100644
index 000000000000..d9ad7a3dbae9
--- /dev/null
+++ b/sci-libs/kineto/files/kineto-0.4.0_p20240525-libfmt-11.patch
@@ -0,0 +1,91 @@
+https://github.com/pytorch/kineto/commit/eb34f147f2af821da931c18457c26b076c8491dd
+https://github.com/pytorch/kineto/pull/959
+https://github.com/pytorch/kineto/issues/958
+
+From eb34f147f2af821da931c18457c26b076c8491dd Mon Sep 17 00:00:00 2001
+From: Aaron Gokaslan <aaronGokaslan@gmail.com>
+Date: Fri, 12 Jul 2024 09:23:33 -0700
+Subject: [PATCH] Update libfmt to 11-0-0. Closes #958. (#959)
+
+Summary:
+Fixes https://github.com/pytorch/kineto/issues/958
+
+Pull Request resolved: https://github.com/pytorch/kineto/pull/959
+
+Reviewed By: davidberard98, yoyoyocmu
+
+Differential Revision: D59637583
+
+Pulled By: aaronenyeshi
+
+fbshipit-source-id: 48def339ed3097ecb4746d7870203040ac535858
+--- a/src/Config.cpp
++++ b/src/Config.cpp
+@@ -12,6 +12,7 @@
+
+ #include <fmt/chrono.h>
+ #include <fmt/format.h>
++#include <fmt/ranges.h>
+ #include <chrono>
+ #include <fstream>
+ #include <functional>
+--- a/src/CuptiRangeProfilerConfig.cpp
++++ b/src/CuptiRangeProfilerConfig.cpp
+@@ -12,6 +12,7 @@
+ #include <stdlib.h>
+
+ #include <fmt/format.h>
++#include <fmt/ranges.h>
+ #include <ostream>
+
+
+--- a/src/DeviceProperties.cpp
++++ b/src/DeviceProperties.cpp
+@@ -9,6 +9,7 @@
+ #include "DeviceProperties.h"
+
+ #include <fmt/format.h>
++#include <fmt/ranges.h>
+ #include <vector>
+
+ #if defined(HAS_CUPTI)
+--- a/src/EventProfiler.cpp
++++ b/src/EventProfiler.cpp
+@@ -10,6 +10,7 @@
+
+ #include <assert.h>
+ #include <fmt/format.h>
++#include <fmt/ranges.h>
+ #include <time.h>
+ #include <algorithm>
+ #include <cmath>
+--- a/test/CuptiActivityProfilerTest.cpp
++++ b/test/CuptiActivityProfilerTest.cpp
+@@ -7,6 +7,7 @@
+ */
+
+ #include <fmt/format.h>
++#include <fmt/ranges.h>
+ #include <folly/json/json.h>
+ #include <gmock/gmock.h>
+ #include <gtest/gtest.h>
+--- a/test/CuptiRangeProfilerConfigTest.cpp
++++ b/test/CuptiRangeProfilerConfigTest.cpp
+@@ -10,6 +10,7 @@
+ #include "src/CuptiRangeProfilerConfig.h"
+
+ #include <fmt/format.h>
++#include <fmt/ranges.h>
+ #include <gtest/gtest.h>
+ #include <time.h>
+ #include <chrono>
+--- a/test/CuptiRangeProfilerTest.cpp
++++ b/test/CuptiRangeProfilerTest.cpp
+@@ -16,6 +16,9 @@
+ #include <fcntl.h>
+ #endif
+
++#include <fmt/format.h>
++#include <fmt/ranges.h>
++
+ #include "include/libkineto.h"
diff --git a/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild b/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild
index ecabcbb39cff..2c0e437f0197 100644
--- a/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild
+++ b/sci-libs/kineto/kineto-0.4.0_p20240525.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..13} )
+PYTHON_COMPAT=( python3_{10..13} )
inherit python-any-r1 cmake prefix
CommitId=be1317644c68b4bfc4646024a6b221066e430031
@@ -32,6 +32,7 @@ RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}"/${PN}-0.4.0-gcc13.patch
+ "${FILESDIR}"/kineto-0.4.0_p20240525-libfmt-11.patch
)
src_prepare() {