commit:     28f01bc127450befa92dcee9a05685dcc6492e00
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sun Oct 12 14:48:46 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 21 18:47:34 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28f01bc1

sci-libs/hipFFT: add 7.0.2

Bug: https://bugs.gentoo.org/964799

Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44165
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/hipFFT/Manifest            |  1 +
 sci-libs/hipFFT/hipFFT-7.0.2.ebuild | 38 +++++++++++++++++++++++++++++++++++++
 sci-libs/hipFFT/metadata.xml        |  2 +-
 3 files changed, 40 insertions(+), 1 deletion(-)

diff --git a/sci-libs/hipFFT/Manifest b/sci-libs/hipFFT/Manifest
index 84604cfc98b1..56d28a2b3812 100644
--- a/sci-libs/hipFFT/Manifest
+++ b/sci-libs/hipFFT/Manifest
@@ -1,2 +1,3 @@
 DIST hipFFT-rocm-6.3.3.tar.gz 267940 BLAKE2B 
a04284d719c33ef214a7cd4e64cdb5babb8bff45c2965ca6d20718f034970e736ff2056dee9ca9e8aba0c00d14bc21f013ad82ed7948f5c9874cc1138fb38671
 SHA512 
87c03985167d2eb18b72e2ed2fbca34ad2a9ce5cabf2fa9260f00139425b5cadab4a79f23e1beaf300eee6d1029d842bddf8ebd293f6897882f91331b93a404c
 DIST hipFFT-rocm-6.4.3.tar.gz 300245 BLAKE2B 
e8255119b14ee3788713f7d5b632b639ca5a0f9366fc81fb83da04ac97eb6f53a17eef2c6da8851f77562ac696755c37b446117573fdbebaafee133aa769cc3c
 SHA512 
80a25e20bbf1a4aae0787219ade0a8bc136e8d731a353695a4d7f125fb644bfd6a10c64b3152cf6120c2214516e45e7c42d0f18584e6568503f63029aad8129a
+DIST hipFFT-rocm-7.0.2.tar.gz 300768 BLAKE2B 
23e980181a8d12fc13345d4615782cfa6f24089dba58cc7b9d837715a685ad3cd16e6880fd175b974924d7844a2e1a38e8b0f29c7317b0b6957f43c1dd518b43
 SHA512 
c78d3bac1a52b3f8a1953818587dd1ae1bd90096c4732eca4d953e69db1598106f86046754ff547fb5bb04598c2a21924d0156b964d7989a65583211bea64ec2

diff --git a/sci-libs/hipFFT/hipFFT-7.0.2.ebuild 
b/sci-libs/hipFFT/hipFFT-7.0.2.ebuild
new file mode 100644
index 000000000000..50e7e27dd6f7
--- /dev/null
+++ b/sci-libs/hipFFT/hipFFT-7.0.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2025 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/ROCm/rocm-libraries/tree/develop/projects/hipfft";
+SRC_URI="https://github.com/ROCm/hipFFT/archive/refs/tags/rocm-${PV}.tar.gz -> 
hipFFT-rocm-${PV}.tar.gz"
+S="${WORKDIR}/hipFFT-rocm-${PV}"
+
+REQUIRED_USE="${ROCM_REQUIRED_USE}"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       dev-util/hip:${SLOT}
+       sci-libs/rocFFT:${SLOT}
+"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+       rocm_use_clang
+
+       local mycmakeargs=(
+               -DROCM_SYMLINK_LIBS=OFF
+               -DBUILD_CLIENTS_TESTS=OFF
+               -DBUILD_CLIENTS_RIDER=OFF
+               -DGPU_TARGETS="$(get_amdgpu_flags)"
+       )
+
+       cmake_src_configure
+}

diff --git a/sci-libs/hipFFT/metadata.xml b/sci-libs/hipFFT/metadata.xml
index 1e3fd1c52d20..becc6ce879bc 100644
--- a/sci-libs/hipFFT/metadata.xml
+++ b/sci-libs/hipFFT/metadata.xml
@@ -18,6 +18,6 @@
     <name>Sv. Lockal</name>
   </maintainer>
   <upstream>
-    <remote-id type="github">ROCm/hipFFT</remote-id>
+    <remote-id type="github">ROCm/rocm-libraries</remote-id>
   </upstream>
 </pkgmetadata>

Reply via email to