* [gentoo-commits] repo/gentoo:master commit in: sci-libs/hipFFT/
@ 2023-11-19 16:32 Benda XU
0 siblings, 0 replies; 4+ messages in thread
From: Benda XU @ 2023-11-19 16:32 UTC (permalink / raw
To: gentoo-commits
commit: 26095f9266788d2e5b9d47e4c28c5108a32f5a5c
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 18 15:04:37 2023 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Nov 19 16:32:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26095f92
sci-libs/hipFFT: add 5.7.1
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
sci-libs/hipFFT/Manifest | 1 +
sci-libs/hipFFT/hipFFT-5.7.1.ebuild | 45 +++++++++++++++++++++++++++++++++++++
2 files changed, 46 insertions(+)
diff --git a/sci-libs/hipFFT/Manifest b/sci-libs/hipFFT/Manifest
index 7ef5713343b5..df28313d1787 100644
--- a/sci-libs/hipFFT/Manifest
+++ b/sci-libs/hipFFT/Manifest
@@ -1 +1,2 @@
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
diff --git a/sci-libs/hipFFT/hipFFT-5.7.1.ebuild b/sci-libs/hipFFT/hipFFT-5.7.1.ebuild
new file mode 100644
index 000000000000..affa5dc9b14b
--- /dev/null
+++ b/sci-libs/hipFFT/hipFFT-5.7.1.ebuild
@@ -0,0 +1,45 @@
+# 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.0.2-remove-git-dependency.patch"
+ "${FILESDIR}/${PN}-4.3.0-add-complex-header.patch"
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_INCLUDEDIR="include/hipfft"
+ -DCMAKE_MODULE_PATH="${EPREFIX}"/usr/$(get_libdir)/cmake/hip
+ -DHIP_ROOT_DIR="${EPREFIX}/usr"
+ -DROCM_SYMLINK_LIBS=OFF
+ -DBUILD_CLIENTS_TESTS=OFF
+ -DBUILD_CLIENTS_RIDER=OFF
+ -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF
+ )
+
+ CXX=hipcc cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/hipFFT/
@ 2024-03-08 19:22 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2024-03-08 19:22 UTC (permalink / raw
To: gentoo-commits
commit: fcfa31b7bf4cdd14b0e719c7e68250af75d9cd19
Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Fri Jan 12 14:43:04 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 8 19:22:09 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcfa31b7
sci-libs/hipFFT: cleanup unused flags/variables
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/hipFFT/hipFFT-5.7.1-r1.ebuild | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/sci-libs/hipFFT/hipFFT-5.7.1-r1.ebuild b/sci-libs/hipFFT/hipFFT-5.7.1-r1.ebuild
index ab9604482ed9..aefdf2660b42 100644
--- a/sci-libs/hipFFT/hipFFT-5.7.1-r1.ebuild
+++ b/sci-libs/hipFFT/hipFFT-5.7.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -21,7 +21,6 @@ RESTRICT="test"
RDEPEND="dev-util/hip
sci-libs/rocFFT:${SLOT}[${ROCM_USEDEP}]"
DEPEND="${RDEPEND}"
-BDEPEND=""
S="${WORKDIR}/hipFFT-rocm-${PV}"
@@ -33,7 +32,6 @@ PATCHES=(
src_configure() {
local mycmakeargs=(
- -DCMAKE_MODULE_PATH="${EPREFIX}"/usr/$(get_libdir)/cmake/hip
-DROCM_SYMLINK_LIBS=OFF
-DBUILD_CLIENTS_TESTS=OFF
-DBUILD_CLIENTS_RIDER=OFF
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/hipFFT/
@ 2024-06-26 9:21 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2024-06-26 9:21 UTC (permalink / raw
To: gentoo-commits
commit: 77b6d9ca63726c76bd4b7279cd4da25aef63ecae
Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Mon Mar 18 19:27:44 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jun 26 09:19:19 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77b6d9ca
sci-libs/hipFFT: add 6.1.1
Changes:
* Can be built with gcc; hipcc is not needed directly
* No patches needed
* Added myself to maintainers
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/hipFFT/Manifest | 1 +
sci-libs/hipFFT/hipFFT-6.1.1.ebuild | 36 ++++++++++++++++++++++++++++++++++++
sci-libs/hipFFT/metadata.xml | 6 +++++-
3 files changed, 42 insertions(+), 1 deletion(-)
diff --git a/sci-libs/hipFFT/Manifest b/sci-libs/hipFFT/Manifest
index df28313d1787..ace4000e72e3 100644
--- a/sci-libs/hipFFT/Manifest
+++ b/sci-libs/hipFFT/Manifest
@@ -1,2 +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
diff --git a/sci-libs/hipFFT/hipFFT-6.1.1.ebuild b/sci-libs/hipFFT/hipFFT-6.1.1.ebuild
new file mode 100644
index 000000000000..d9700529cd24
--- /dev/null
+++ b/sci-libs/hipFFT/hipFFT-6.1.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2024 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/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"
+
+RESTRICT="test"
+
+RDEPEND="dev-util/hip
+ sci-libs/rocFFT:${SLOT}[${ROCM_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DROCM_SYMLINK_LIBS=OFF
+ -DBUILD_CLIENTS_TESTS=OFF
+ -DBUILD_CLIENTS_RIDER=OFF
+ -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF
+ )
+
+ cmake_src_configure
+}
diff --git a/sci-libs/hipFFT/metadata.xml b/sci-libs/hipFFT/metadata.xml
index 54e78eb20141..1e3fd1c52d20 100644
--- a/sci-libs/hipFFT/metadata.xml
+++ b/sci-libs/hipFFT/metadata.xml
@@ -13,7 +13,11 @@
<email>xgreenlandforwyy@gmail.com</email>
<name>Yiyang Wu</name>
</maintainer>
+ <maintainer type="person">
+ <email>lockalsash@gmail.com</email>
+ <name>Sv. Lockal</name>
+ </maintainer>
<upstream>
- <remote-id type="github">ROCmSoftwarePlatform/hipFFT</remote-id>
+ <remote-id type="github">ROCm/hipFFT</remote-id>
</upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/hipFFT/
@ 2024-09-09 18:20 Sam James
0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2024-09-09 18:20 UTC (permalink / raw
To: gentoo-commits
commit: a9928b64eece2848421012645ffc101aade998fe
Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sat Jul 20 16:34:59 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep 9 18:15:11 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9928b64
sci-libs/hipFFT: strip unsupported flags for potentially switched compiler
Also set compiler to hipcc (clang fails when libc++ is enabled instead of libstdc++)
Bug: https://bugs.gentoo.org/936099
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/hipFFT/hipFFT-6.1.1.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sci-libs/hipFFT/hipFFT-6.1.1.ebuild b/sci-libs/hipFFT/hipFFT-6.1.1.ebuild
index d9700529cd24..8cc68e63e149 100644
--- a/sci-libs/hipFFT/hipFFT-6.1.1.ebuild
+++ b/sci-libs/hipFFT/hipFFT-6.1.1.ebuild
@@ -25,6 +25,10 @@ RDEPEND="dev-util/hip
DEPEND="${RDEPEND}"
src_configure() {
+ # Note: hipcc is enforced; clang fails when libc++ is enabled
+ # with an error similar to https://github.com/boostorg/config/issues/392
+ rocm_use_hipcc
+
local mycmakeargs=(
-DROCM_SYMLINK_LIBS=OFF
-DBUILD_CLIENTS_TESTS=OFF
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-09 18:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09 18:20 [gentoo-commits] repo/gentoo:master commit in: sci-libs/hipFFT/ Sam James
-- strict thread matches above, loose matches on Subject: below --
2024-06-26 9:21 Sam James
2024-03-08 19:22 Sam James
2023-11-19 16:32 Benda XU
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox