diff options
author | 2022-12-18 12:28:32 +0100 | |
---|---|---|
committer | 2022-12-19 15:00:04 +0100 | |
commit | bb4ed92b9c42bdb1576467a1abfb35e3a258a0c5 (patch) | |
tree | 2fd56b49eab70e3402d1114bd0e8aa76757ed0c9 /sci-libs/rocPRIM/rocPRIM-4.0.0-r1.ebuild | |
parent | sci-libs/rocFFT: drop 4.0.0-r1, 4.3.0-r1 (diff) | |
download | gentoo-bb4ed92b9c42bdb1576467a1abfb35e3a258a0c5.tar.gz gentoo-bb4ed92b9c42bdb1576467a1abfb35e3a258a0c5.tar.bz2 gentoo-bb4ed92b9c42bdb1576467a1abfb35e3a258a0c5.zip |
sci-libs/rocPRIM: drop 4.0.0-r1, 4.3.0-r2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-libs/rocPRIM/rocPRIM-4.0.0-r1.ebuild')
-rw-r--r-- | sci-libs/rocPRIM/rocPRIM-4.0.0-r1.ebuild | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/sci-libs/rocPRIM/rocPRIM-4.0.0-r1.ebuild b/sci-libs/rocPRIM/rocPRIM-4.0.0-r1.ebuild deleted file mode 100644 index 880998e8b08c..000000000000 --- a/sci-libs/rocPRIM/rocPRIM-4.0.0-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="HIP parallel primitives for developing performant GPU-accelerated code on ROCm" -HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocPRIM" -SRC_URI="https://github.com/ROCmSoftwarePlatform/rocPRIM/archive/rocm-${PV}.tar.gz -> rocPRIM-${PV}.tar.gz" - -LICENSE="MIT" -KEYWORDS="~amd64" -SLOT="0" -IUSE="" - -RDEPEND=">=dev-util/hip-${PV} - >=dev-util/rocm-cmake-${PV}" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/rocPRIM-rocm-${PV}" - -src_prepare() { - # "hcc" is depcreated, new platform ist "rocclr" - sed -e "/HIP_PLATFORM STREQUAL/s,hcc,rocclr," -i cmake/VerifyCompiler.cmake || die - - # Install according to FHS - sed -e "/PREFIX rocprim/d" \ - -e "/INSTALL_INTERFACE/s,rocprim/include,include/rocprim," \ - -e "/DESTINATION/s,rocprim/include,include," \ - -e "/rocm_install_symlink_subdir(rocprim)/d" \ - -i rocprim/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=( - -DAMDGPU_TARGETS="gfx803;gfx900;gfx906;gfx908" - -DBUILD_TEST=OFF - -DBUILD_BENCHMARK=OFF - ) - - cmake_src_configure -} |