public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Tom Rix <Tom.Rix@amd.com>
To: git-commits@fedoraproject.org
Subject: [rpms/amdsmi] epel10: Remove unused patches
Date: Tue, 09 Jun 2026 22:35:57 GMT [thread overview]
Message-ID: <178104455702.1.1679519891556896940.rpms-amdsmi-8007f3307ef2@fedoraproject.org> (raw)
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"
reply other threads:[~2026-06-09 22:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178104455702.1.1679519891556896940.rpms-amdsmi-8007f3307ef2@fedoraproject.org \
--to=tom.rix@amd.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox