public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/amdsmi] epel10: Remove unused patches
@ 2026-06-09 22:35 Tom Rix
  0 siblings, 0 replies; only message in thread
From: Tom Rix @ 2026-06-09 22:35 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/amdsmi
            Branch : epel10
            Commit : 8007f3307ef21027ff6108e68936101f6820a70d
            Author : Tom Rix <Tom.Rix@amd.com>
            Date   : 2026-04-10T06:48:08-07:00
            Stats  : +0/-130 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/amdsmi/c/8007f3307ef21027ff6108e68936101f6820a70d?branch=epel10

            Log:
            Remove unused patches

Signed-off-by: Tom Rix <Tom.Rix@amd.com>

---
diff --git a/0001-amdsmi-remove-unneeded-include-fileystem.patch b/0001-amdsmi-remove-unneeded-include-fileystem.patch
deleted file mode 100644
index 52f97f0..0000000
--- a/0001-amdsmi-remove-unneeded-include-fileystem.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 91491f518114d0cccacfd421fb5d2912c099e298 Mon Sep 17 00:00:00 2001
-From: Tom Rix <Tom.Rix@amd.com>
-Date: Wed, 19 Nov 2025 06:45:26 -0800
-Subject: [PATCH] amdsmi remove unneeded include fileystem
-
----
- rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h | 1 -
- 1 file changed, 1 deletion(-)
-
-diff --git a/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h b/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h
-index ec923a0cc2ba..9b9f20a4506c 100644
---- a/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h
-+++ b/rocm_smi/include/rocm_smi/rocm_smi_dyn_gpu_metrics.h
-@@ -55,7 +55,6 @@
- #include <condition_variable>
- #include <cstddef>
- #include <cstdint>
--#include <filesystem>
- #include <fstream>
- #include <iostream>
- #include <map>
--- 
-2.51.1
-

diff --git a/0002-option-use-system-gtest.patch b/0002-option-use-system-gtest.patch
deleted file mode 100644
index e411a0f..0000000
--- a/0002-option-use-system-gtest.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-diff --git a/tests/amd_smi_test/CMakeLists.txt b/tests/amd_smi_test/CMakeLists.txt
-index 33bb0018..d57501fe 100644
---- a/tests/amd_smi_test/CMakeLists.txt
-+++ b/tests/amd_smi_test/CMakeLists.txt
-@@ -1,15 +1,21 @@
- # Required Defines first:
- option(INSTALL_GTEST "Install GTest (only useful if GTest is not already installed)" OFF)
- 
-+option(USE_SYSTEM_GTEST "Use system GTest" OFF)
-+
- # Help tests find libraries at runtime
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--enable-new-dtags")
- set(CMAKE_INSTALL_RPATH "\$ORIGIN:\$ORIGIN/../../../lib"
-     CACHE STRING "RUNPATH for tests. Helps find libgtest.so and libamd_smi.so")
- 
--# Download and compile googletest
--include(FetchContent)
--FetchContent_Declare(googletest GIT_REPOSITORY https://github.com/google/googletest.git GIT_TAG v1.14.0)
--FetchContent_MakeAvailable(googletest)
-+if(USE_SYSTEM_GTEST)
-+    find_package( GTest REQUIRED )
-+else()
-+    # Download and compile googletest
-+    include(FetchContent)
-+    FetchContent_Declare(googletest GIT_REPOSITORY https://github.com/google/googletest.git GIT_TAG v1.14.0)
-+    FetchContent_MakeAvailable(googletest)
-+endif()
- 
- enable_testing()
- 
-@@ -63,8 +69,10 @@ install(
-     DESTINATION ${SHARE_INSTALL_PREFIX}/tests
-     COMPONENT ${TESTS_COMPONENT})
- 
--# Install googletest libraries with tests
--install(
--    TARGETS gtest gtest_main
--    DESTINATION ${SHARE_INSTALL_PREFIX}/tests
--    COMPONENT ${TESTS_COMPONENT})
-+if( NOT USE_SYSTEM_GTEST)
-+    # Install googletest libraries with tests
-+    install(
-+        TARGETS gtest gtest_main
-+        DESTINATION ${SHARE_INSTALL_PREFIX}/tests
-+        COMPONENT ${TESTS_COMPONENT})
-+endif()

diff --git a/0003-test-client-includes-for-gcc-15.patch b/0003-test-client-includes-for-gcc-15.patch
deleted file mode 100644
index 643b5d4..0000000
--- a/0003-test-client-includes-for-gcc-15.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-diff --git a/tests/amd_smi_test/functional/frequencies_read.cc b/tests/amd_smi_test/functional/frequencies_read.cc
-index 4e893315..096c7371 100644
---- a/tests/amd_smi_test/functional/frequencies_read.cc
-+++ b/tests/amd_smi_test/functional/frequencies_read.cc
-@@ -23,6 +23,7 @@
- #include <cstdint>
- #include <iostream>
- #include <string>
-+#include <iomanip>
- 
- #include <gtest/gtest.h>
- #include "amd_smi/amdsmi.h"
-diff --git a/tests/amd_smi_test/functional/hw_topology_read.cc b/tests/amd_smi_test/functional/hw_topology_read.cc
-index 390dbec0..3169f4a4 100644
---- a/tests/amd_smi_test/functional/hw_topology_read.cc
-+++ b/tests/amd_smi_test/functional/hw_topology_read.cc
-@@ -27,6 +27,7 @@
- #include <iostream>
- #include <string>
- #include <vector>
-+#include <iomanip>
- 
- #include <gtest/gtest.h>
- #include "amd_smi/amdsmi.h"
-diff --git a/tests/amd_smi_test/functional/id_info_read.cc b/tests/amd_smi_test/functional/id_info_read.cc
-index edc0bfaa..6cb89d09 100644
---- a/tests/amd_smi_test/functional/id_info_read.cc
-+++ b/tests/amd_smi_test/functional/id_info_read.cc
-@@ -27,6 +27,7 @@
- #include <iostream>
- #include <string>
- #include <map>
-+#include <iomanip>
- #include "amd_smi/amdsmi.h"
- #include "id_info_read.h"
- #include "../test_common.h"
-diff --git a/tests/amd_smi_test/functional/sys_info_read.cc b/tests/amd_smi_test/functional/sys_info_read.cc
-index eac51cce..9cf0d407 100644
---- a/tests/amd_smi_test/functional/sys_info_read.cc
-+++ b/tests/amd_smi_test/functional/sys_info_read.cc
-@@ -27,6 +25,7 @@
- #include <iostream>
- #include <string>
- #include <limits>
-+#include <iomanip>
- 
- #include "amd_smi/amdsmi.h"
- #include "sys_info_read.h"
-diff --git a/tests/amd_smi_test/test_base.cc b/tests/amd_smi_test/test_base.cc
-index 564ea5de..a2fa7df9 100644
---- a/tests/amd_smi_test/test_base.cc
-+++ b/tests/amd_smi_test/test_base.cc
-@@ -25,6 +25,7 @@
- #include <gtest/gtest.h>
-
- #include <cassert>
-+#include <iomanip>
- 
- #include "amd_smi/amdsmi.h"
- #include "amd_smi/impl/amd_smi_utils.h"

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-09 22:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-09 22:35 [rpms/amdsmi] epel10: Remove unused patches Tom Rix

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