diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-19 19:49:08 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-19 19:49:08 +0000 |
commit | f287ecad888abdeb38e617d0485de282cd6819db (patch) | |
tree | 874d56500040734c4dbb9e437e0d5ed80a0a1886 /sci-libs/hipFFT/hipFFT-4.3.0.ebuild | |
parent | 844ae757702c53a56ee57056873a8204d256d47e (diff) |
gentoo auto-resync : 19:12:2022 - 19:49:08
Diffstat (limited to 'sci-libs/hipFFT/hipFFT-4.3.0.ebuild')
-rw-r--r-- | sci-libs/hipFFT/hipFFT-4.3.0.ebuild | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/sci-libs/hipFFT/hipFFT-4.3.0.ebuild b/sci-libs/hipFFT/hipFFT-4.3.0.ebuild deleted file mode 100644 index 5f7d3a95f58a..000000000000 --- a/sci-libs/hipFFT/hipFFT-4.3.0.ebuild +++ /dev/null @@ -1,75 +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 - -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}-4.3.0-gentoo-install-locations.patch" - "${FILESDIR}/${PN}-4.3.0-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 - eapply_user - 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 - -DBUILD_CLIENTS_TESTS=$(usex test ON OFF) - -DBUILD_CLIENTS_RIDER=$(usex benchmark ON OFF) - ${AMDGPU_TARGETS+-DAMDGPU_TARGETS="${AMDGPU_TARGETS}"} - -D__skip_rocmclang="ON" ## fix cmake-3.21 configuration issue caused by officialy support programming language "HIP" - ) - - 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 -} |