summaryrefslogtreecommitdiff
path: root/sci-libs/hipFFT
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-01 15:05:02 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-01 15:05:02 +0000
commite523ebcd50638ebe53f8f425d126bfa7385703b5 (patch)
treea8202f9224bd577afe09c919786f8836cf4a2a7c /sci-libs/hipFFT
parentd88834e7a12432c4e2d04ca7e938a66e25811f89 (diff)
gentoo auto-resync : 01:02:2023 - 15:05:01
Diffstat (limited to 'sci-libs/hipFFT')
-rw-r--r--sci-libs/hipFFT/Manifest6
-rw-r--r--sci-libs/hipFFT/files/hipFFT-5.0.2-gentoo-install-locations.patch28
-rw-r--r--sci-libs/hipFFT/hipFFT-5.0.2.ebuild77
-rw-r--r--sci-libs/hipFFT/metadata.xml3
4 files changed, 1 insertions, 113 deletions
diff --git a/sci-libs/hipFFT/Manifest b/sci-libs/hipFFT/Manifest
index 53f2845054ce..769ee7600f8a 100644
--- a/sci-libs/hipFFT/Manifest
+++ b/sci-libs/hipFFT/Manifest
@@ -1,10 +1,6 @@
AUX hipFFT-4.3.0-add-complex-header.patch 381 BLAKE2B 962865d4dd1a38bbc4e70756d614c92a287029e5bd6d987e8adbabb4b33a83e616cc1156bfc5dc415124d25373e146178a99854972d957039654007d5d3d5122 SHA512 8dfda0eb470005b9ed4701dbf0a1022040ce6bc90f0e04ca16704083074047b5170396257c1aa8c5d0855c055e491249c63516f4f1ba7583d5214f39705433fa
-AUX hipFFT-5.0.2-gentoo-install-locations.patch 978 BLAKE2B 3f452b7cf2dd9286a38f94890520d3de92932acba43de60ed66c866fed3b39e56139ff51e345301b41ac7bd0deabdedb040e9a1f80504504fffe87f5bdd4a496 SHA512 2bdfa7804a5ddb7913dc43e5835e16d498e7e08a4678f0de97eafa7829d6da4197bb3bc25824c357e9dc1bdb966f279e7950e8298bd36a16c1e1c43ae09b5484
AUX hipFFT-5.0.2-remove-git-dependency.patch 1489 BLAKE2B 800033e728c4871c9c8de797779f3c9ca0f3441e1946068e4d826aabf02d1e27145e0fc627ae583ac27eaa43abeafba271fda48c22d087eda3cdace18cd62af2 SHA512 4c0ca6282b3fccf99d7ae25c17f5961b10b0ff49e1d1e1a65055d7ff20fe4a17901b8c5e9ec78953a2de86ab9408f583eb85cc211db1e2dc339fb8e2217a9f10
AUX hipFFT-5.1.3-gentoo-install-locations.patch 1003 BLAKE2B f41fecbfa3556767f59fe4c2516a070664fb105c2d9871640a2ea4679bd50c292ac329e81ba34557423f1e2445a8157630aba9e0d0a9eacd6b3778efbd67734b SHA512 e2cd361116c59215d5a1aa383fc6e9a3a4ea3c22348dfd83a6e5da13f3ab03833b149ba4a60939f41cb933276015b819aab4e4f9356ee6742f38b88598747d45
-DIST hipFFT-rocm-5.0.2.tar.gz 88405 BLAKE2B c3a2e5e029d7d91c7cdc1c4e2ddec71c17df0cf2d863c81ef263eea3734488fcc31795ea681b27dffd04c0833c99df252256c3ffacfbf29305fa1ba5b8bd4efa SHA512 4fdc080479f1094e9ce92acc0eceb630a6a6ce711ffdc5ffef58d61baf23e8ea9ec45a922d798fb17a7724425d5785451f5f114bc7db40ebbfb50359b56456a6
DIST hipFFT-rocm-5.1.3.tar.gz 89397 BLAKE2B 3c29d5d660e9f3db8afd8c9e524296c29f50faf06a5d6a58ec628b5cc5ddb47ac2b99f137c7bc5090a311189b44014ea2f6f1f7547d22506f5ba18f837fbeb68 SHA512 8d7a90630cd8bfeade9cb026e45b6b6c1ab9c96dba424559a7ced8c881cd45c1cb06d3f7e82c8e6558e4ccb8bb41b6278842057a0cf0957b0644b1139f2c9706
-DIST rocFFT-5.0.2.tar.gz 837508 BLAKE2B b74d0c6edd7b232f775bffefbca829d88d9d7cd9108c27a0698f45d7fe2760d40463bcda8c710e923874b3bbfb1e83e0fe8622db4dfa28afb29392b3e135e9a5 SHA512 d6810a92a10a27dbcac8a04e8fcd56c7fa198f208da626d8938d5ff28b6ab8b89a058c7a56b5666464165e8f6bd7c4c031a94315625a3613eb02a9b8eccd9eb9
-EBUILD hipFFT-5.0.2.ebuild 1920 BLAKE2B 4219451958bea97b48850a26e36048486158b3c19a30702ac283c54a4f0f60cf725a5a122807c86e91348f41be293c7207e4e632224a1bab869aab49e21a6280 SHA512 8061026feaab2bb883e728a0bb064c3a31d0860aa646950ed36130dbd2b1429bb076f1b8f2b01a567c51fcf7a54e36a78765645bddb158efe9e3d69732a1f219
EBUILD hipFFT-5.1.3.ebuild 1215 BLAKE2B c6247905b76257910c1c04beb4cac06d268184855061b9475d0caa981462497c6fe6ce6eb45de786dbafded3d59cef5f5ba561c3d5d7cdc8b9dfad02ad018871 SHA512 200e46991f56e3158c7c3520fc7a1642b4fcb2a7e622c6a124b0b336d64f62cb7c27798604f4a8fc81d387a9ecfc1cc1ba588d73576097147ff6e0007b6d9e16
-MISC metadata.xml 727 BLAKE2B 29e2218926627115b138fc101b5d582d4c6fd29b998bd92d23f8e2a63b33e9882d312bf5ab766d72757a4a2abb1f29357e4d95c663e3525ec536a86b325ff0b9 SHA512 e8d1501ce980d5fba12bdbbc5ef1a17c13c5cfe16cd3ae9f89d151cb8843f4ef581b2c807814e9af542ce94d9924dfade9efd1e1527444b1464132ae2601d208
+MISC metadata.xml 617 BLAKE2B d5ab7f2a7c98fdafe1e50bff4708e7a2bf58680e9ee2cadaa2eea018b81032b4e1d82849144684a1100acb9a4e2651fb07572c0e46cbda87ef585b290e4b865c SHA512 7859cff3011e71bb1e6a2668c6d1f035cdd47ad214aefe6c0c225a8ac7133081a9e2bad5a7bb7ea94b7a9c3761f131228e5da66b0190e35234cd10c626e01734
diff --git a/sci-libs/hipFFT/files/hipFFT-5.0.2-gentoo-install-locations.patch b/sci-libs/hipFFT/files/hipFFT-5.0.2-gentoo-install-locations.patch
deleted file mode 100644
index eefdb2aaaaf5..000000000000
--- a/sci-libs/hipFFT/files/hipFFT-5.0.2-gentoo-install-locations.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Index: hipFFT-rocm-5.0.2/library/CMakeLists.txt
-===================================================================
---- hipFFT-rocm-5.0.2.orig/library/CMakeLists.txt
-+++ hipFFT-rocm-5.0.2/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
- 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/hipFFT-5.0.2.ebuild b/sci-libs/hipFFT/hipFFT-5.0.2.ebuild
deleted file mode 100644
index bf7e339f002a..000000000000
--- a/sci-libs/hipFFT/hipFFT-5.0.2.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake
-
-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}-5.0.2-gentoo-install-locations.patch"
- "${FILESDIR}/${PN}-5.0.2-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
- sed -e "/CMAKE_INSTALL_LIBDIR/d" -i CMakeLists.txt || die
- CXX=hipcc 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
- -DCMAKE_MODULE_PATH="${EPREFIX}/usr/$(get_libdir)/cmake"
- -DHIP_ROOT_DIR="${EPREFIX}/usr"
- -DBUILD_CLIENTS_TESTS=$(usex test ON OFF)
- -DBUILD_CLIENTS_RIDER=$(usex benchmark ON OFF)
- ${AMDGPU_TARGETS+-DAMDGPU_TARGETS="${AMDGPU_TARGETS}"}
- )
-
- export CXX=hipcc
- 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
index 0ae466927cad..54e78eb20141 100644
--- a/sci-libs/hipFFT/metadata.xml
+++ b/sci-libs/hipFFT/metadata.xml
@@ -16,7 +16,4 @@
<upstream>
<remote-id type="github">ROCmSoftwarePlatform/hipFFT</remote-id>
</upstream>
- <use>
- <flag name="benchmark">Build and install benchmark programs hipfft-rider.</flag>
- </use>
</pkgmetadata>