commit: 49315adad7e3824cf04a3bdf78b3d8544966407f Author: Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com> AuthorDate: Fri Oct 17 09:32:10 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Fri Oct 17 14:31:26 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49315ada
sci-libs/hipFFT: drop unused patches Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44218 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> .../files/hipFFT-4.3.0-add-complex-header.patch | 11 ------ .../files/hipFFT-5.0.2-remove-git-dependency.patch | 35 ------------------- .../hipFFT/files/hipFFT-5.7.1_hip-config.patch | 40 ---------------------- 3 files changed, 86 deletions(-) diff --git a/sci-libs/hipFFT/files/hipFFT-4.3.0-add-complex-header.patch b/sci-libs/hipFFT/files/hipFFT-4.3.0-add-complex-header.patch deleted file mode 100644 index 200481788b95..000000000000 --- a/sci-libs/hipFFT/files/hipFFT-4.3.0-add-complex-header.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff --color -uprN orig/clients/rider/rider.cpp hipFFT-rocm-4.3.0/clients/rider/rider.cpp ---- orig/clients/rider/rider.cpp 2021-08-26 15:05:32.267279103 +0800 -+++ hipFFT-rocm-4.3.0/clients/rider/rider.cpp 2021-08-26 15:05:48.795279212 +0800 -@@ -22,6 +22,7 @@ - #include <cstddef> - #include <iostream> - #include <numeric> -+#include <complex> - #include <random> - #include <sstream> - diff --git a/sci-libs/hipFFT/files/hipFFT-5.0.2-remove-git-dependency.patch b/sci-libs/hipFFT/files/hipFFT-5.0.2-remove-git-dependency.patch deleted file mode 100644 index fb2c97936a42..000000000000 --- a/sci-libs/hipFFT/files/hipFFT-5.0.2-remove-git-dependency.patch +++ /dev/null @@ -1,35 +0,0 @@ -Index: hipFFT-rocm-5.0.2/cmake/dependencies.cmake -=================================================================== ---- hipFFT-rocm-5.0.2.orig/cmake/dependencies.cmake -+++ hipFFT-rocm-5.0.2/cmake/dependencies.cmake -@@ -21,9 +21,6 @@ - # - # ############################################################################# - --# Git --find_package(Git REQUIRED) -- - # HIP - if( NOT CMAKE_CXX_COMPILER MATCHES ".*/hipcc$" ) - if( NOT BUILD_WITH_LIB STREQUAL "CUDA" ) -Index: hipFFT-rocm-5.0.2/clients/CMakeLists.txt -=================================================================== ---- hipFFT-rocm-5.0.2.orig/clients/CMakeLists.txt -+++ hipFFT-rocm-5.0.2/clients/CMakeLists.txt -@@ -54,16 +54,6 @@ list( APPEND CMAKE_MODULE_PATH ${CMAKE_C - - include( build-options ) - --if( GIT_FOUND AND EXISTS "${CMAKE_SOURCE_DIR}/.git" ) -- message(STATUS "rocFFT submodule update") -- execute_process(COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive -- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/clients/rocFFT -- RESULT_VARIABLE GIT_SUBMOD_RESULT) -- if( NOT GIT_SUBMOD_RESULT EQUAL "0" ) -- message(FATAL_ERROR "git submodule update --init --recursive failed with ${GIT_SUBMOD_RESULT}, please checkout submodules manually.") -- endif( ) --endif( ) -- - if( NOT EXISTS "${CMAKE_SOURCE_DIR}/clients/rocFFT/CMakeLists.txt" ) - message(FATAL_ERROR "The rocFFT submodule is not present! Please update git submodules and try again. ${CMAKE_CURRENT_SOURCE_DIR}/clients/rocFFT/CMakeLists.txt") - endif( ) diff --git a/sci-libs/hipFFT/files/hipFFT-5.7.1_hip-config.patch b/sci-libs/hipFFT/files/hipFFT-5.7.1_hip-config.patch deleted file mode 100644 index 71d75417c0d3..000000000000 --- a/sci-libs/hipFFT/files/hipFFT-5.7.1_hip-config.patch +++ /dev/null @@ -1,40 +0,0 @@ -From c2b06a3b49257b3f89cf203895cf370e64e47b27 Mon Sep 17 00:00:00 2001 -From: trixirt <[email protected]> -Date: Mon, 31 Jul 2023 09:50:19 -0700 -Subject: [PATCH] Simplify finding the hip package - -On Fedora, where hip is installed as an rpm, its cmake files can -not be found and are reported as an error. - -CMake Error at cmake/dependencies.cmake:44 (find_package): - No "FindHIP.cmake" found in CMAKE_MODULE_PATH. - -This change treats hip as a normal package. - -Signed-off-by: Tom Rix <[email protected]> ---- - cmake/dependencies.cmake | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake -index 262478d..5810e37 100644 ---- a/cmake/dependencies.cmake -+++ b/cmake/dependencies.cmake -@@ -30,7 +30,7 @@ if( NOT CMAKE_CXX_COMPILER MATCHES ".*/hipcc$" ) - if( WIN32 ) - find_package( HIP CONFIG REQUIRED ) - else() -- find_package( HIP MODULE REQUIRED ) -+ find_package( HIP REQUIRED ) - endif() - list( APPEND HIP_INCLUDE_DIRS "${HIP_ROOT_DIR}/include" ) - endif() -@@ -41,7 +41,7 @@ else() - if( WIN32 ) - find_package( HIP CONFIG REQUIRED ) - else() -- find_package( HIP MODULE REQUIRED ) -+ find_package( HIP REQUIRED ) - endif() - endif() - endif()
