* [gentoo-commits] repo/gentoo:master commit in: sci-libs/hipFFT/, sci-libs/hipFFT/files/
@ 2021-11-30 6:34 Benda XU
0 siblings, 0 replies; 2+ messages in thread
From: Benda XU @ 2021-11-30 6:34 UTC (permalink / raw
To: gentoo-commits
commit: 02dc3ee11c5815bec6c60fe88285d8d446f7263f
Author: YiyangWu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Thu Aug 26 07:33:50 2021 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Tue Nov 30 06:32:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02dc3ee1
sci-libs/hipFFT: ROCm FFT marshalling library
hipFFT is the front end of rocFFT, and is dependency of ROCm
supported math/DL frameworks like pytorch.
Bug: https://bugs.gentoo.org/705712
Closes: https://github.com/gentoo/gentoo/pull/22804
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
sci-libs/hipFFT/Manifest | 2 +
| 11 ++++
.../hipFFT-4.3.0-gentoo-install-locations.patch | 42 ++++++++++++
.../files/hipFFT-4.3.0-remove-git-dependency.patch | 33 ++++++++++
sci-libs/hipFFT/hipFFT-4.3.0.ebuild | 75 ++++++++++++++++++++++
sci-libs/hipFFT/metadata.xml | 22 +++++++
6 files changed, 185 insertions(+)
diff --git a/sci-libs/hipFFT/Manifest b/sci-libs/hipFFT/Manifest
new file mode 100644
index 000000000000..c756438b9383
--- /dev/null
+++ b/sci-libs/hipFFT/Manifest
@@ -0,0 +1,2 @@
+DIST hipFFT-rocm-4.3.0.tar.gz 83355 BLAKE2B ee99b4cb685cbb846084d8a7c77982d75cf0d1597f9270260284bb26ae00702a31dd4d5ad9ae1885ab631c390f65c0f584f302be189701ba4f0dd9061b1bba5a SHA512 0d3100b054ff485eae06b13b8c568626b8e3a3286f36012c5a5f9bb4918e03c30c687a2714049bd797f6c3973f1730ad0936f02ad044cde1663c9c5750bbcf40
+DIST rocFFT-4.3.0.tar.gz 840748 BLAKE2B 236a5faa930751d35e501a9a32ecc8b4075448ef21a0ffb0bb7ec04f4ed1cb67b908aa153b5b424e0823d3e306cf375d7c01a77d687220ed79de6d374037e003 SHA512 765d41e4018a04a53e847c03de80eec830d3e8766187fb8cb493624afa2673175347c16e6eeeebd4ad7d88bb866e58f7e572708f22238723c710b98565a0cd3d
--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
new file mode 100644
index 000000000000..200481788b95
--- /dev/null
+++ b/sci-libs/hipFFT/files/hipFFT-4.3.0-add-complex-header.patch
@@ -0,0 +1,11 @@
+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-4.3.0-gentoo-install-locations.patch b/sci-libs/hipFFT/files/hipFFT-4.3.0-gentoo-install-locations.patch
new file mode 100644
index 000000000000..891774eb5a47
--- /dev/null
+++ b/sci-libs/hipFFT/files/hipFFT-4.3.0-gentoo-install-locations.patch
@@ -0,0 +1,42 @@
+diff --color -uprN orig/CMakeLists.txt hipFFT-rocm-4.3.0/CMakeLists.txt
+--- orig/CMakeLists.txt 2021-08-26 14:38:31.051268348 +0800
++++ hipFFT-rocm-4.3.0/CMakeLists.txt 2021-08-26 14:38:42.655268425 +0800
+@@ -143,7 +143,7 @@ endif( )
+ add_subdirectory( library )
+
+ # force library install path to lib (CentOS 7 defaults to lib64)
+-set(CMAKE_INSTALL_LIBDIR "lib" CACHE INTERNAL "Installation directory for libraries" FORCE)
++set(CMAKE_INSTALL_LIBDIR "lib64" CACHE INTERNAL "Installation directory for libraries" FORCE)
+
+ # Build clients of the library
+ if( BUILD_CLIENTS )
+diff --color -uprN orig/library/CMakeLists.txt hipFFT-rocm-4.3.0/library/CMakeLists.txt
+--- orig/library/CMakeLists.txt 2021-08-26 14:38:31.051268348 +0800
++++ hipFFT-rocm-4.3.0/library/CMakeLists.txt 2021-08-26 14:39:21.919268686 +0800
+@@ -77,7 +77,7 @@ target_include_directories(hipfft
+ PUBLIC $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/library/include>
+ $<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include>
+ $<BUILD_INTERFACE:${HIP_INCLUDE_DIRS}>
+- $<INSTALL_INTERFACE:include>
++ $<INSTALL_INTERFACE:include/hipfft>
+ )
+
+ if(BUILD_WITH_LIB STREQUAL "CUDA")
+@@ -112,13 +112,13 @@ if( ROCM_FOUND )
+ rocm_install_targets( TARGETS hipfft
+ INCLUDE
+ ${CMAKE_SOURCE_DIR}/library/include
+- ${CMAKE_BINARY_DIR}/include
+- PREFIX hipfft )
++ ${CMAKE_BINARY_DIR}/include )
++ #PREFIX hipfft )
+ rocm_export_targets( TARGETS hip::hipfft
+- PREFIX hipfft
++ #PREFIX hipfft
+ DEPENDS PACKAGE hip
+ NAMESPACE hip:: )
+- rocm_install_symlink_subdir( hipfft )
++ #rocm_install_symlink_subdir( hipfft )
+
+
+ # During transition to standalone hipFFT repository, don't install
diff --git a/sci-libs/hipFFT/files/hipFFT-4.3.0-remove-git-dependency.patch b/sci-libs/hipFFT/files/hipFFT-4.3.0-remove-git-dependency.patch
new file mode 100644
index 000000000000..563da3085ab9
--- /dev/null
+++ b/sci-libs/hipFFT/files/hipFFT-4.3.0-remove-git-dependency.patch
@@ -0,0 +1,33 @@
+diff --color -uprN orig/cmake/dependencies.cmake hipFFT-rocm-4.3.0/cmake/dependencies.cmake
+--- orig/cmake/dependencies.cmake 2021-08-26 14:48:57.867272506 +0800
++++ hipFFT-rocm-4.3.0/cmake/dependencies.cmake 2021-08-26 14:51:02.571273334 +0800
+@@ -21,9 +21,6 @@
+ #
+ # #############################################################################
+
+-# Git
+-find_package(Git REQUIRED)
+-
+ # HIP
+ if(NOT BUILD_WITH_LIB STREQUAL "CUDA")
+ find_package(hip REQUIRED)
+diff --color -uprN orig/CMakeLists.txt hipFFT-rocm-4.3.0/CMakeLists.txt
+--- orig/CMakeLists.txt 2021-08-26 14:48:57.867272506 +0800
++++ hipFFT-rocm-4.3.0/CMakeLists.txt 2021-08-26 14:49:15.247272622 +0800
+@@ -117,16 +117,6 @@ message(STATUS "BUILD_WITH_COMPILER = "
+ include(cmake/dependencies.cmake)
+
+ if( BUILD_CLIENTS_TESTS )
+- if( GIT_FOUND AND EXISTS "${PROJECT_SOURCE_DIR}/.git" )
+- message(STATUS "rocFFT submodule update")
+- execute_process(COMMAND ${GIT_EXECUTABLE} submodule update --init --recursive
+- WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+- 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 "${PROJECT_SOURCE_DIR}/rocFFT/CMakeLists.txt" )
+ message(FATAL_ERROR "The rocFFT submodule is not present! Please update git submodules and try again.")
+ endif( )
diff --git a/sci-libs/hipFFT/hipFFT-4.3.0.ebuild b/sci-libs/hipFFT/hipFFT-4.3.0.ebuild
new file mode 100644
index 000000000000..5f7d3a95f58a
--- /dev/null
+++ b/sci-libs/hipFFT/hipFFT-4.3.0.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake flag-o-matic
+
+DESCRIPTION="CU / ROCM agnostic hip FFT implementation"
+HOMEPAGE="https://github.com/ROCmSoftwarePlatform/hipFFT"
+SRC_URI="https://github.com/ROCmSoftwarePlatform/hipFFT/archive/refs/tags/rocm-${PV}.tar.gz -> hipFFT-rocm-${PV}.tar.gz
+ test? ( https://github.com/ROCmSoftwarePlatform/rocFFT/archive/rocm-${PV}.tar.gz -> rocFFT-${PV}.tar.gz )"
+
+LICENSE="MIT"
+KEYWORDS="~amd64"
+IUSE="benchmark test"
+SLOT="0/$(ver_cut 1-2)"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-util/hip:${SLOT}
+ sci-libs/rocFFT:${SLOT}"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ test? (
+ dev-cpp/gtest
+ dev-libs/boost
+)"
+
+S="${WORKDIR}/hipFFT-rocm-${PV}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.3.0-gentoo-install-locations.patch"
+ "${FILESDIR}/${PN}-4.3.0-remove-git-dependency.patch"
+ "${FILESDIR}/${PN}-4.3.0-add-complex-header.patch"
+)
+
+src_prepare() {
+ use test && rmdir rocFFT && ln -s ../rocFFT-rocm-${PV} rocFFT
+ eapply_user
+ cmake_src_prepare
+}
+
+src_configure() {
+ # Grant access to the device
+ addwrite /dev/kfd
+ addpredict /dev/dri/
+
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
+ -DCMAKE_INSTALL_INCLUDEDIR="include/hipfft"
+ -DCMAKE_SKIP_RPATH=ON
+ -DBUILD_CLIENTS_TESTS=$(usex test ON OFF)
+ -DBUILD_CLIENTS_RIDER=$(usex benchmark ON OFF)
+ ${AMDGPU_TARGETS+-DAMDGPU_TARGETS="${AMDGPU_TARGETS}"}
+ -D__skip_rocmclang="ON" ## fix cmake-3.21 configuration issue caused by officialy support programming language "HIP"
+ )
+
+ cmake_src_configure
+}
+
+src_test () {
+ addwrite /dev/kfd
+ addpredict /dev/dri
+ cd "${BUILD_DIR}/clients/staging" || die
+ einfo "Running hipfft-test"
+ LD_LIBRARY_PATH=${BUILD_DIR}/library ./hipfft-test || die
+}
+
+src_install() {
+ cmake_src_install
+ if use benchmark; then
+ cd "${BUILD_DIR}/clients/staging" || die
+ dobin hipfft-rider
+ fi
+}
diff --git a/sci-libs/hipFFT/metadata.xml b/sci-libs/hipFFT/metadata.xml
new file mode 100644
index 000000000000..7839d343e80f
--- /dev/null
+++ b/sci-libs/hipFFT/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <maintainer type="person" proxied="yes">
+ <email>gentoo@holzke.net</email>
+ <name>Wilfried Holzke</name>
+ </maintainer>
+ <maintainer type="person" proxied="yes">
+ <email>xgreenlandforwyy@gmail.com</email>
+ <name>Yiyang Wu</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ROCmSoftwarePlatform/hipFFT</remote-id>
+ </upstream>
+ <use>
+ <flag name="benchmark">Build and install benchmark programs hipfft-rider.</flag>
+ </use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/hipFFT/, sci-libs/hipFFT/files/
@ 2025-02-13 8:38 Sam James
0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2025-02-13 8:38 UTC (permalink / raw
To: gentoo-commits
commit: 6f6a7d3c411add47c688116db59c53ba17f5b220
Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Thu Jan 30 14:42:20 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 13 08:35:25 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f6a7d3c
sci-libs/hipFFT: drop 5.1.3-r1
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/hipFFT/Manifest | 1 -
.../hipFFT-5.1.3-gentoo-install-locations.patch | 29 -------
.../hipFFT/files/hipFFT-5.1.3_hip-config.patch | 90 ----------------------
sci-libs/hipFFT/hipFFT-5.1.3-r1.ebuild | 44 -----------
4 files changed, 164 deletions(-)
diff --git a/sci-libs/hipFFT/Manifest b/sci-libs/hipFFT/Manifest
index ac673321a23f..2095b039b036 100644
--- a/sci-libs/hipFFT/Manifest
+++ b/sci-libs/hipFFT/Manifest
@@ -1,4 +1,3 @@
-DIST hipFFT-rocm-5.1.3.tar.gz 89397 BLAKE2B 3c29d5d660e9f3db8afd8c9e524296c29f50faf06a5d6a58ec628b5cc5ddb47ac2b99f137c7bc5090a311189b44014ea2f6f1f7547d22506f5ba18f837fbeb68 SHA512 8d7a90630cd8bfeade9cb026e45b6b6c1ab9c96dba424559a7ced8c881cd45c1cb06d3f7e82c8e6558e4ccb8bb41b6278842057a0cf0957b0644b1139f2c9706
DIST hipFFT-rocm-5.7.1.tar.gz 102616 BLAKE2B ee8d6dcb7924c8989987b02533126c4e4419d8dc83067a816f2253efe4537e094f1665d95699d4bf27f30cd13f3fc5df7d3b0062c267ecbdcbb3aad961fab6f6 SHA512 4bfd812fa1e949574b4170833755a435f47e893f0615b65d8d273af6e8f89ea4d28632a208de20321e834c8bc237b11816e2af0363b60adca9af736b9bc87465
DIST hipFFT-rocm-6.1.1.tar.gz 170796 BLAKE2B 8c957db8e7e2548918539c94262d912c2f33b70d8482b727c78c13323bdb6822c3e95439854b8ab4fed970d21ed0c6fd2ab8c2805db59d3a3606d73e7eb47468 SHA512 531be32b12ed5f0f2352e3e0a893ca988a4c8492e66fc9347b6754ae4e769549d6f638a760de35cb15ef2d301ab4200a76c832d769ecb0cd55e9e42f839a1876
DIST hipFFT-rocm-6.3.0.tar.gz 267945 BLAKE2B 33d9013ddb20b37b17a05dc647e74eaccede7e952723a177cb0f1e54f2b25cd6a76b1a8b00f419cf197e495dd654b04f418d28ca1023ea4bc88f0ccf8191d6c0 SHA512 a210e044a87845a861c127529143ea8517f5eef30a07007f43bd29a85b5c2999bd6002d12cd2a06c1c8b469ea3d52c081bbcc5146c5fc585df8505ddfa6a3e06
diff --git a/sci-libs/hipFFT/files/hipFFT-5.1.3-gentoo-install-locations.patch b/sci-libs/hipFFT/files/hipFFT-5.1.3-gentoo-install-locations.patch
deleted file mode 100644
index fe395de42f86..000000000000
--- a/sci-libs/hipFFT/files/hipFFT-5.1.3-gentoo-install-locations.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Fix install location to meet FHS, and remove useless symlink
-===================================================================
---- hipFFT-rocm-5.1.3.orig/library/CMakeLists.txt
-+++ hipFFT-rocm-5.1.3/library/CMakeLists.txt
-@@ -81,7 +81,7 @@ target_include_directories( hipfft
- PUBLIC $<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/library/include>
- $<BUILD_INTERFACE:${PROJECT_BINARY_DIR}/include>
- $<BUILD_INTERFACE:${HIP_INCLUDE_DIRS}>
-- $<INSTALL_INTERFACE:include>
-+ $<INSTALL_INTERFACE:include/hipfft>
- ${HIP_INCLUDE_DIRS}
- )
-
-@@ -142,13 +142,11 @@ if( ROCM_FOUND )
- rocm_install_targets( TARGETS hipfft
- INCLUDE
- ${CMAKE_SOURCE_DIR}/library/include
-- ${CMAKE_BINARY_DIR}/include
-- PREFIX hipfft )
-+ ${CMAKE_BINARY_DIR}/include )
- rocm_export_targets( TARGETS hip::hipfft
-- PREFIX hipfft
-+ PREFIX .
- DEPENDS PACKAGE hip
- NAMESPACE hip:: )
-- rocm_install_symlink_subdir( hipfft )
-
- # Package specific CPACK vars
- if( NOT BUILD_WITH_LIB STREQUAL "CUDA" )
diff --git a/sci-libs/hipFFT/files/hipFFT-5.1.3_hip-config.patch b/sci-libs/hipFFT/files/hipFFT-5.1.3_hip-config.patch
deleted file mode 100644
index 2f63a0f8e6f7..000000000000
--- a/sci-libs/hipFFT/files/hipFFT-5.1.3_hip-config.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-reverts the following commit.
-
-Upstream: https://github.com/ROCmSoftwarePlatform/hipFFT/pull/67
-
-commit 41491c9a70f808ed74690a538ca7bd25ff1ae1ca
-Author: Steve Leung <Steve.Leung@amd.com>
-Date: Wed Sep 1 11:25:26 2021 -0600
-
- cmake: use HIP CONFIG on Windows
-
-diff --git a/clients/rider/CMakeLists.txt b/clients/rider/CMakeLists.txt
-index de1fc7d..8b88103 100644
---- b/clients/rider/CMakeLists.txt
-+++ a/clients/rider/CMakeLists.txt
-@@ -43,11 +43,7 @@
-
- if( NOT CMAKE_CXX_COMPILER MATCHES ".*/hipcc$" )
- if( NOT BUILD_WITH_LIB STREQUAL "CUDA" )
-- if( WIN32 )
-- find_package( HIP CONFIG REQUIRED )
-- else()
-- find_package( HIP MODULE REQUIRED )
-- endif()
-+ find_package( HIP REQUIRED )
- target_link_libraries( hipfft-rider PRIVATE hip::host )
- else()
-
-diff --git a/clients/samples/CMakeLists.txt b/clients/samples/CMakeLists.txt
-index 5a882c6..37162ab 100644
---- b/clients/samples/CMakeLists.txt
-+++ a/clients/samples/CMakeLists.txt
-@@ -48,11 +48,7 @@
- target_link_libraries( ${sample} PRIVATE hip::hipfft )
-
- if( NOT CMAKE_CXX_COMPILER MATCHES ".*/hipcc$" )
-- if( WIN32 )
-- find_package( HIP CONFIG REQUIRED )
-- else()
-- find_package( HIP MODULE REQUIRED )
-- endif()
-+ find_package( HIP REQUIRED )
- if( NOT BUILD_WITH_LIB STREQUAL "CUDA" )
- target_link_libraries( ${sample} PRIVATE hip::host )
- else()
-diff --git a/clients/tests/CMakeLists.txt b/clients/tests/CMakeLists.txt
-index 2b965e2..0442a79 100644
---- b/clients/tests/CMakeLists.txt
-+++ a/clients/tests/CMakeLists.txt
-@@ -81,11 +81,7 @@
-
- if( NOT CMAKE_CXX_COMPILER MATCHES ".*/hipcc$" )
- if( NOT BUILD_WITH_LIB STREQUAL "CUDA" )
-- if( WIN32 )
-- find_package( HIP CONFIG REQUIRED )
-- else()
-- find_package( HIP MODULE REQUIRED )
-- endif()
-+ find_package( HIP REQUIRED )
- target_link_libraries( hipfft-test PRIVATE hip::host )
- else()
- target_compile_definitions( hipfft-test PRIVATE __HIP_PLATFORM_NVIDIA__)
-diff --git a/cmake/dependencies.cmake b/cmake/dependencies.cmake
-index 022e3e4..0c8b3f8 100644
---- b/cmake/dependencies.cmake
-+++ a/cmake/dependencies.cmake
-@@ -27,22 +27,14 @@
- # HIP
- if( NOT CMAKE_CXX_COMPILER MATCHES ".*/hipcc$" )
- if( NOT BUILD_WITH_LIB STREQUAL "CUDA" )
-- if( WIN32 )
-- find_package( HIP CONFIG REQUIRED )
-- else()
-- find_package( HIP MODULE REQUIRED )
-- endif()
-+ find_package( HIP REQUIRED )
- list( APPEND HIP_INCLUDE_DIRS "${HIP_ROOT_DIR}/include" )
- endif()
- else()
- if( BUILD_WITH_LIB STREQUAL "CUDA" )
- set(HIP_INCLUDE_DIRS "${HIP_ROOT_DIR}/include")
- else()
-- if( WIN32 )
-- find_package( HIP CONFIG REQUIRED )
-- else()
-- find_package( HIP MODULE REQUIRED )
-- endif()
-+ find_package( HIP REQUIRED )
- endif()
- endif()
-
diff --git a/sci-libs/hipFFT/hipFFT-5.1.3-r1.ebuild b/sci-libs/hipFFT/hipFFT-5.1.3-r1.ebuild
deleted file mode 100644
index 79eb8052324f..000000000000
--- a/sci-libs/hipFFT/hipFFT-5.1.3-r1.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ROCM_VERSION=${PV}
-
-inherit cmake rocm
-
-DESCRIPTION="CU / ROCM agnostic hip FFT implementation"
-HOMEPAGE="https://github.com/ROCmSoftwarePlatform/hipFFT"
-SRC_URI="https://github.com/ROCmSoftwarePlatform/hipFFT/archive/refs/tags/rocm-${PV}.tar.gz -> hipFFT-rocm-${PV}.tar.gz"
-REQUIRED_USE="${ROCM_REQUIRED_USE}"
-
-LICENSE="MIT"
-KEYWORDS="~amd64"
-SLOT="0/$(ver_cut 1-2)"
-
-RESTRICT="test"
-
-RDEPEND="dev-util/hip
- sci-libs/rocFFT:${SLOT}[${ROCM_USEDEP}]"
-DEPEND="${RDEPEND}"
-BDEPEND=""
-
-S="${WORKDIR}/hipFFT-rocm-${PV}"
-
-PATCHES=(
- "${FILESDIR}/${PN}-5.1.3_hip-config.patch"
- "${FILESDIR}/${PN}-5.1.3-gentoo-install-locations.patch"
- "${FILESDIR}/${PN}-5.0.2-remove-git-dependency.patch"
- "${FILESDIR}/${PN}-4.3.0-add-complex-header.patch"
-)
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_INSTALL_INCLUDEDIR="include/hipfft"
- -DROCM_SYMLINK_LIBS=OFF
- -DBUILD_CLIENTS_TESTS=OFF
- -DBUILD_CLIENTS_RIDER=OFF
- )
-
- CXX=hipcc cmake_src_configure
-}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-13 8:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-13 8:38 [gentoo-commits] repo/gentoo:master commit in: sci-libs/hipFFT/, sci-libs/hipFFT/files/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2021-11-30 6:34 Benda XU
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox