public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/kineto/files/
@ 2024-01-06 19:45 Alfredo Tupone
  0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone @ 2024-01-06 19:45 UTC (permalink / raw
  To: gentoo-commits

commit:     5c899f017b4ae629c88419b1c7f423cb00c0b05b
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sat Jan  6 09:33:51 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Jan  6 19:44:33 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c899f01

sci-libs/kineto: remove unused patch

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/34666
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../kineto/files/kineto-2021.11.17-gentoo.patch    | 77 ----------------------
 1 file changed, 77 deletions(-)

diff --git a/sci-libs/kineto/files/kineto-2021.11.17-gentoo.patch b/sci-libs/kineto/files/kineto-2021.11.17-gentoo.patch
deleted file mode 100644
index 3e1a5cbc9b8d..000000000000
--- a/sci-libs/kineto/files/kineto-2021.11.17-gentoo.patch
+++ /dev/null
@@ -1,77 +0,0 @@
---- a/CMakeLists.txt	2022-05-24 11:16:18.537610972 +0200
-+++ b/CMakeLists.txt	2022-05-24 11:19:15.011073535 +0200
-@@ -78,10 +78,10 @@
- set_target_properties(kineto_base kineto_api PROPERTIES
-       CXX_STANDARD 14
-       CXX_STANDARD_REQUIRED YES
--      CXX_EXTENSIONS NO
--      CXX_VISIBILITY_PRESET hidden)
-+      CXX_EXTENSIONS NO)
- 
--set(KINETO_COMPILE_OPTIONS "-DKINETO_NAMESPACE=libkineto")
-+set(KINETO_COMPILE_OPTIONS "-DKINETO_NAMESPACE=libkineto"
-+        ${CMAKE_SHARED_LIBRARY_C_FLAGS})
- list(APPEND KINETO_COMPILE_OPTIONS "-DFMT_HEADER_ONLY")
- if(NOT MSVC)
-   list(APPEND KINETO_COMPILE_OPTIONS "-std=c++14")
-@@ -100,7 +102,7 @@
- target_compile_options(kineto_base PRIVATE "${KINETO_COMPILE_OPTIONS}")
- target_compile_options(kineto_api PRIVATE "${KINETO_COMPILE_OPTIONS}")
- 
--if(NOT TARGET fmt)
-+if(FALSE)
-   if(NOT FMT_SOURCE_DIR)
-     set(FMT_SOURCE_DIR "${LIBKINETO_THIRDPARTY_DIR}/fmt"
-       CACHE STRING "fmt source directory from submodules")
-@@ -118,9 +120,7 @@
-   set(BUILD_SHARED_LIBS ${TEMP_BUILD_SHARED_LIBS} CACHE BOOL "Build shared libs" FORCE)
- endif()
- 
--set(FMT_INCLUDE_DIR "${FMT_SOURCE_DIR}/include")
- message(STATUS "Kineto: FMT_SOURCE_DIR = ${FMT_SOURCE_DIR}")
--message(STATUS "Kineto: FMT_INCLUDE_DIR = ${FMT_INCLUDE_DIR}")
- if (NOT CUPTI_INCLUDE_DIR)
-     set(CUPTI_INCLUDE_DIR "${CUDA_SOURCE_DIR}/extras/CUPTI/include")
- endif()
-@@ -140,14 +140,12 @@
- target_include_directories(kineto_base PUBLIC
-       $<BUILD_INTERFACE:${LIBKINETO_INCLUDE_DIR}>
-       $<BUILD_INTERFACE:${LIBKINETO_SOURCE_DIR}>
--      $<BUILD_INTERFACE:${FMT_INCLUDE_DIR}>
-       $<BUILD_INTERFACE:${CUPTI_INCLUDE_DIR}>
-       $<BUILD_INTERFACE:${CUDA_INCLUDE_DIRS}>
-       $<BUILD_INTERFACE:${ROCTRACER_INCLUDE_DIR}>
-       $<BUILD_INTERFACE:${ROCM_INCLUDE_DIRS}>)
- 
- target_include_directories(kineto_api PUBLIC
--      $<BUILD_INTERFACE:${FMT_INCLUDE_DIR}>
-       $<BUILD_INTERFACE:${LIBKINETO_INCLUDE_DIR}>)
- 
- if(KINETO_LIBRARY_TYPE STREQUAL "default")
-@@ -178,8 +180,6 @@
- if(NOT LIBKINETO_NOCUPTI)
-   target_link_libraries(kineto "${CUDA_cupti_LIBRARY}")
- endif()
--target_link_libraries(kineto $<BUILD_INTERFACE:fmt::fmt-header-only>)
--add_dependencies(kineto fmt::fmt-header-only)
- 
- install(TARGETS kineto EXPORT kinetoLibraryConfig
-   ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
---- a/libkineto_defs.bzl	2022-05-24 22:06:17.324000422 +0200
-+++ b/libkineto_defs.bzl	2022-05-24 22:07:08.326419268 +0200
-@@ -46,6 +46,7 @@
-         "src/init.cpp",
-         "src/output_csv.cpp",
-         "src/output_json.cpp",
-+        "src/ILoggerObserver.cpp",
-     ] + (get_libkineto_api_srcs() if with_api else [])
- 
- def get_libkineto_public_headers():
-@@ -51,6 +56,7 @@
-     return [
-         "include/AbstractConfig.h",
-         "include/ActivityProfilerInterface.h",
-+        "include/ActivityTraceInterface.h",
-         "include/ActivityType.h",
-         "include/Config.h",
-         "include/ClientInterface.h",


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-libs/kineto/files/
@ 2025-03-04 18:45 Alfredo Tupone
  0 siblings, 0 replies; 2+ messages in thread
From: Alfredo Tupone @ 2025-03-04 18:45 UTC (permalink / raw
  To: gentoo-commits

commit:     6db5e944978149ba090d964ffc6fd3f2c818b984
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Tue Mar  4 06:59:07 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Mar  4 18:45:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6db5e944

sci-libs/kineto: remove unused patch

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../files/kineto-0.4.0_p20240525-libfmt-11.patch   | 91 ----------------------
 1 file changed, 91 deletions(-)

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
deleted file mode 100644
index d9ad7a3dbae9..000000000000
--- a/sci-libs/kineto/files/kineto-0.4.0_p20240525-libfmt-11.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-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"


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-03-04 18:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-06 19:45 [gentoo-commits] repo/gentoo:master commit in: sci-libs/kineto/files/ Alfredo Tupone
  -- strict thread matches above, loose matches on Subject: below --
2025-03-04 18:45 Alfredo Tupone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox