From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1469304-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 79966158020
	for <garchives@archives.gentoo.org>; Mon, 19 Dec 2022 14:00:52 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5F07BE0B4B;
	Mon, 19 Dec 2022 14:00:47 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 456E0E0B4B
	for <gentoo-commits@lists.gentoo.org>; Mon, 19 Dec 2022 14:00:47 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 7326234179A
	for <gentoo-commits@lists.gentoo.org>; Mon, 19 Dec 2022 14:00:46 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id ECAEA7F9
	for <gentoo-commits@lists.gentoo.org>; Mon, 19 Dec 2022 14:00:42 +0000 (UTC)
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" <asturm@gentoo.org>
Message-ID: <1671458404.e24d0a6fbd255ff802fd6e2c030097a86890319f.asturm@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/rocFFT/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sci-libs/rocFFT/Manifest sci-libs/rocFFT/rocFFT-4.0.0-r1.ebuild sci-libs/rocFFT/rocFFT-4.3.0-r1.ebuild
X-VCS-Directories: sci-libs/rocFFT/
X-VCS-Committer: asturm
X-VCS-Committer-Name: Andreas Sturmlechner
X-VCS-Revision: e24d0a6fbd255ff802fd6e2c030097a86890319f
X-VCS-Branch: master
Date: Mon, 19 Dec 2022 14:00:42 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: d285a536-676c-4eaa-91e7-e0219fc37ae5
X-Archives-Hash: 6a41d365f51867ed9264e90bdbe11b47

commit:     e24d0a6fbd255ff802fd6e2c030097a86890319f
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 11:36:54 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 19 14:00:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e24d0a6f

sci-libs/rocFFT: drop 4.0.0-r1, 4.3.0-r1

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-libs/rocFFT/Manifest               |   2 -
 sci-libs/rocFFT/rocFFT-4.0.0-r1.ebuild |  51 ----------------
 sci-libs/rocFFT/rocFFT-4.3.0-r1.ebuild | 106 ---------------------------------
 3 files changed, 159 deletions(-)

diff --git a/sci-libs/rocFFT/Manifest b/sci-libs/rocFFT/Manifest
index 62c113ca488d..1eadc3e838dc 100644
--- a/sci-libs/rocFFT/Manifest
+++ b/sci-libs/rocFFT/Manifest
@@ -1,4 +1,2 @@
-DIST rocFFT-4.0.0.tar.gz 772176 BLAKE2B f08db9487449e707ba814a66d23992f68c140017a38f72ee45b3b224fc3e46abd40b976aef645f4432601265b38cff8939456981c686360eba135349b5d28fb5 SHA512 db9a6b49162dfb7924aa5f5dc8d42c92a5a741e03c3c0b4ece2cfb72de7506a345f3d28d31a3d7755cfe78078c448c9f952ca671e472335a4301de8702916176
-DIST rocFFT-4.3.0.tar.gz 840748 BLAKE2B 236a5faa930751d35e501a9a32ecc8b4075448ef21a0ffb0bb7ec04f4ed1cb67b908aa153b5b424e0823d3e306cf375d7c01a77d687220ed79de6d374037e003 SHA512 765d41e4018a04a53e847c03de80eec830d3e8766187fb8cb493624afa2673175347c16e6eeeebd4ad7d88bb866e58f7e572708f22238723c710b98565a0cd3d
 DIST rocFFT-5.0.2.tar.gz 837508 BLAKE2B b74d0c6edd7b232f775bffefbca829d88d9d7cd9108c27a0698f45d7fe2760d40463bcda8c710e923874b3bbfb1e83e0fe8622db4dfa28afb29392b3e135e9a5 SHA512 d6810a92a10a27dbcac8a04e8fcd56c7fa198f208da626d8938d5ff28b6ab8b89a058c7a56b5666464165e8f6bd7c4c031a94315625a3613eb02a9b8eccd9eb9
 DIST rocFFT-5.1.3.tar.gz 845470 BLAKE2B 86060ce4f8612869fedc5bc92ed6a5bb7fbc539b26c7f5ab0ded5406ab6c340f64116782285d040824e54557af87d9ddb6f907fd1550b80c3da903d3c1d5e5c0 SHA512 175402856bd4753e74ce14326569be99221e21d0ce675e007900f6982c53e1566ad0b060eec545e0f17ff4dc4811688cc1003dc986226205ee95ee6f22d1ca43

diff --git a/sci-libs/rocFFT/rocFFT-4.0.0-r1.ebuild b/sci-libs/rocFFT/rocFFT-4.0.0-r1.ebuild
deleted file mode 100644
index eee74cd57dc0..000000000000
--- a/sci-libs/rocFFT/rocFFT-4.0.0-r1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# 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 "/<INSTALL_INTERFACE/s,include,include/rocFFT," \
-		-i library/src/CMakeLists.txt || die
-
-	sed -e "/rocm_install_symlink_subdir/d" \
-		-e "$!N;s:PREFIX\n  rocfft:# PREFIX rocfft\n:;P;D" \
-		-i library/src/device/CMakeLists.txt || die
-
-	eapply_user
-	cmake_src_prepare
-}
-
-src_configure() {
-	# Grant access to the device
-	addwrite /dev/kfd
-	addpredict /dev/dri/
-
-	# Compiler to use
-	export CXX=hipcc
-
-	local mycmakeargs=(
-		-Wno-dev
-		-DCMAKE_INSTALL_INCLUDEDIR="include/rocFFT/"
-	)
-
-	cmake_src_configure
-}

diff --git a/sci-libs/rocFFT/rocFFT-4.3.0-r1.ebuild b/sci-libs/rocFFT/rocFFT-4.3.0-r1.ebuild
deleted file mode 100644
index b9dcb25f7acd..000000000000
--- a/sci-libs/rocFFT/rocFFT-4.3.0-r1.ebuild
+++ /dev/null
@@ -1,106 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..10} )
-
-inherit cmake check-reqs multiprocessing python-any-r1
-
-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/$(ver_cut 1-2)"
-
-RDEPEND="dev-util/hip:${SLOT}"
-
-DEPEND="${RDEPEND}
-	${PYTHON_DEPS}"
-
-BDEPEND="
-	test? ( dev-cpp/gtest dev-libs/boost
-	>=sci-libs/fftw-3 sys-libs/libomp )
-	>=dev-util/cmake-3.22
-"
-
-CHECKREQS_DISK_BUILD="7G"
-
-IUSE="test"
-
-RESTRICT="!test? ( test )"
-
-S="${WORKDIR}/rocFFT-rocm-${PV}"
-
-PATCHES=("${FILESDIR}/${PN}-4.2.0-add-functional-header.patch")
-
-required_mem() {
-	if use test; then
-		echo "52G"
-	else
-		if [[ -n "${AMDGPU_TARGETS}" ]]; then
-			local NARCH=$(($(awk -F";" '{print NF-1}' <<< "${AMDGPU_TARGETS}" || die)+1)) # count how many archs user specified in ${AMDGPU_TARGETS}
-		else
-			local NARCH=7 # The default number of AMDGPU_TARGETS for rocFFT-4.3.0. May change in the future.
-		fi
-		echo "$(($(makeopts_jobs)*${NARCH}*25+2200))M" # A linear function estimating how much memory required
-	fi
-}
-
-pkg_pretend() {
-	return # leave the disk space check to pkg_setup phase
-}
-
-pkg_setup() {
-	export CHECKREQS_MEMORY=$(required_mem)
-	check-reqs_pkg_setup
-	python_setup
-}
-
-src_prepare() {
-	sed -e "s/PREFIX rocfft//" \
-		-e "/rocm_install_symlink_subdir/d" \
-		-e "/<INSTALL_INTERFACE/s,include,include/rocFFT," \
-		-i library/src/CMakeLists.txt || die
-
-	sed -e "/rocm_install_symlink_subdir/d" \
-		-e "$!N;s:PREFIX\n[ ]*rocfft:# PREFIX rocfft\n:;P;D" \
-		-i library/src/device/CMakeLists.txt || die
-
-	eapply_user
-	cmake_src_prepare
-}
-
-src_configure() {
-	# Grant access to the device
-	addwrite /dev/kfd
-	addpredict /dev/dri/
-
-	# Compiler to use
-	export CXX=hipcc
-
-	local mycmakeargs=(
-		-Wno-dev
-		-DCMAKE_INSTALL_INCLUDEDIR="include/rocFFT/"
-		-DCMAKE_SKIP_RPATH=ON
-		-DBUILD_CLIENTS_TESTS=$(usex test ON OFF)
-		-DBUILD_CLIENTS_SELFTEST=OFF  # rocFFT-4.3.0 self test fails. See https://github.com/ROCmSoftwarePlatform/rocFFT/issues/324. Enable it for rocFFT-4.4
-		${AMDGPU_TARGETS+-DAMDGPU_TARGETS="${AMDGPU_TARGETS}"}
-	)
-
-	cmake_src_configure
-}
-
-src_test() {
-	addwrite /dev/kfd
-	addpredict /dev/dri
-	cd "${BUILD_DIR}/clients/staging" || die
-	einfo "Running rocfft-test"
-	LD_LIBRARY_PATH=${BUILD_DIR}/library/src/:${BUILD_DIR}/library/src/device ./rocfft-test || die
-
-	# rocFFT-4.3.0 self test fails. See https://github.com/ROCmSoftwarePlatform/rocFFT/issues/324. Enable it for rocFFT-4.4
-	# einfo "Running rocfft-selftest"
-	# LD_LIBRARY_PATH=${BUILD_DIR}/library/src/:${BUILD_DIR}/library/src/device ./rocfft-selftest || die
-}