public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/hipFFT/files/, sci-libs/hipFFT/
Date: Wed,  1 Feb 2023 09:53:31 +0000 (UTC)	[thread overview]
Message-ID: <1675245171.40a02dac874b5b7f20f9af80ffe39ac67cd5623c.asturm@gentoo> (raw)

commit:     40a02dac874b5b7f20f9af80ffe39ac67cd5623c
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 24 22:21:37 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Feb  1 09:52:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40a02dac

sci-libs/hipFFT: drop 5.0.2

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

 sci-libs/hipFFT/Manifest                           |  2 -
 .../hipFFT-5.0.2-gentoo-install-locations.patch    | 28 --------
 sci-libs/hipFFT/hipFFT-5.0.2.ebuild                | 77 ----------------------
 sci-libs/hipFFT/metadata.xml                       |  3 -
 4 files changed, 110 deletions(-)

diff --git a/sci-libs/hipFFT/Manifest b/sci-libs/hipFFT/Manifest
index d45a08dd417a..7ef5713343b5 100644
--- a/sci-libs/hipFFT/Manifest
+++ b/sci-libs/hipFFT/Manifest
@@ -1,3 +1 @@
-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

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>


             reply	other threads:[~2023-02-01  9:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-01  9:53 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-11-20  3:56 [gentoo-commits] repo/gentoo:master commit in: sci-libs/hipFFT/files/, sci-libs/hipFFT/ Benda XU
2023-07-30  4:39 Benda XU
2022-12-19 14:00 Andreas Sturmlechner
2022-06-10  4:33 Benda XU

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1675245171.40a02dac874b5b7f20f9af80ffe39ac67cd5623c.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox