From bbdc938b68c82208fccc7b95ee31e5247b16b1ba Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Thu, 21 Jan 2021 21:13:59 +0800 Subject: sci-libs/rocFFT: FFT implementation for ROCm. Closes: https://github.com/gentoo/gentoo/pull/19146 Bug: https://bugs.gentoo.org/650804 Bug: https://github.com/gentoo/gentoo/pull/10724 Suggested-by: Yiyang Wu Suggested-by: Wilfried Holzke Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: Benda Xu --- sci-libs/rocFFT/Manifest | 1 + sci-libs/rocFFT/metadata.xml | 19 +++++++++++++ sci-libs/rocFFT/rocFFT-4.0.0-r1.ebuild | 51 ++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 sci-libs/rocFFT/Manifest create mode 100644 sci-libs/rocFFT/metadata.xml create mode 100644 sci-libs/rocFFT/rocFFT-4.0.0-r1.ebuild (limited to 'sci-libs/rocFFT') diff --git a/sci-libs/rocFFT/Manifest b/sci-libs/rocFFT/Manifest new file mode 100644 index 000000000000..610854666625 --- /dev/null +++ b/sci-libs/rocFFT/Manifest @@ -0,0 +1 @@ +DIST rocFFT-4.0.0.tar.gz 772176 BLAKE2B f08db9487449e707ba814a66d23992f68c140017a38f72ee45b3b224fc3e46abd40b976aef645f4432601265b38cff8939456981c686360eba135349b5d28fb5 SHA512 db9a6b49162dfb7924aa5f5dc8d42c92a5a741e03c3c0b4ece2cfb72de7506a345f3d28d31a3d7755cfe78078c448c9f952ca671e472335a4301de8702916176 diff --git a/sci-libs/rocFFT/metadata.xml b/sci-libs/rocFFT/metadata.xml new file mode 100644 index 000000000000..6a00ab0d27c4 --- /dev/null +++ b/sci-libs/rocFFT/metadata.xml @@ -0,0 +1,19 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + candrews@gentoo.org + Craig Andrews + + + gentoo@holzke.net + Wilfried Holzke + + + ROCmSoftwarePlatform/rocFFT + + diff --git a/sci-libs/rocFFT/rocFFT-4.0.0-r1.ebuild b/sci-libs/rocFFT/rocFFT-4.0.0-r1.ebuild new file mode 100644 index 000000000000..eee74cd57dc0 --- /dev/null +++ b/sci-libs/rocFFT/rocFFT-4.0.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake flag-o-matic check-reqs + +DESCRIPTION="Next generation FFT implementation for ROCm" +HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocFFT" +SRC_URI="https://github.com/ROCmSoftwarePlatform/rocFFT/archive/rocm-${PV}.tar.gz -> rocFFT-${PV}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND="=dev-util/hip-$(ver_cut 1-2)*" +DEPEND="${RDEPEND}" + +CHECKREQS_MEMORY="28G" + +S="${WORKDIR}/rocFFT-rocm-${PV}" + +src_prepare() { + sed -e "s/PREFIX rocfft//" \ + -e "/rocm_install_symlink_subdir/d" \ + -e "/