commit: 8cf81ff5cec828b170a8bb51250533a38c034390 Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com> AuthorDate: Sun Oct 12 12:55:49 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Oct 21 18:47:32 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cf81ff5
sci-libs/hipRAND: add 7.0.2 Bug: https://bugs.gentoo.org/964799 Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44165 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-libs/hipRAND/Manifest | 1 + sci-libs/hipRAND/hipRAND-7.0.2.ebuild | 41 +++++++++++++++++++++++++++++++++++ sci-libs/hipRAND/metadata.xml | 2 +- 3 files changed, 43 insertions(+), 1 deletion(-) diff --git a/sci-libs/hipRAND/Manifest b/sci-libs/hipRAND/Manifest index 6fead06e7185..6b99a17c3c5e 100644 --- a/sci-libs/hipRAND/Manifest +++ b/sci-libs/hipRAND/Manifest @@ -1,2 +1,3 @@ DIST hipRAND-rocm-6.3.3.tar.gz 125512 BLAKE2B 3a1c5fbdc115e6372dd88501abebab729022fcda03c9a3a39848fdce15f335abd772f82660af09c48abe9b88f138866a31273f5ee2b4290400ecf8cc3f8e2456 SHA512 ee2e4364d07e7ed3515f3c1094119e54055d052e396b5dece738241c8404eecb75e737f43e513262474140c78046430ea5d7f3d915c321c5d9ba4b20778ccc6e DIST hipRAND-rocm-6.4.3.tar.gz 127204 BLAKE2B 40751993b2b6567326e9e69ff006d5c1b7653e9cc1fa7d71307d9d41e91a3e4ce7d3767fd03ebde52afacf6be22d371a3273a7ca45e2c6a9a11fd772bc6256e6 SHA512 22cd2396723292ccb7504b4c5ce4150d1fe04dcfaf020963d28c27077e001fc9edf23fa03d18159fecc4f1d51df300a04a8297dfec62476464e93a7bbafc9f9b +DIST hipRAND-rocm-7.0.2.tar.gz 137511 BLAKE2B e9f9bef56aefd9c0ae7bc6f1fc69c33ca994061dcc38943ee96c531670a29b48810f0e9ee5354767808cc33d3202cb1e2787e7123945eeebbfffaa1ed73fec41 SHA512 d2f59da6e6fd544a0d8fc0d3d0012b587797ffbeab4178b0df0ea6396bc51b7e1448823959416ba48eed5b8268d0170b0d7ccd8bc7d8d34926029ebe999dbca3 diff --git a/sci-libs/hipRAND/hipRAND-7.0.2.ebuild b/sci-libs/hipRAND/hipRAND-7.0.2.ebuild new file mode 100644 index 000000000000..3f100df41417 --- /dev/null +++ b/sci-libs/hipRAND/hipRAND-7.0.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ROCM_VERSION=${PV} + +inherit cmake rocm + +DESCRIPTION="CU / ROCM agnostic hip RAND implementation" +HOMEPAGE="https://github.com/ROCm/rocm-libraries/tree/develop/projects/hiprand" +SRC_URI="https://github.com/ROCm/hipRAND/archive/refs/tags/rocm-${PV}.tar.gz -> hipRAND-rocm-${PV}.tar.gz" +S="${WORKDIR}/hipRAND-rocm-${PV}" + +REQUIRED_USE="${ROCM_REQUIRED_USE}" + +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64" + +RESTRICT="test" + +RDEPEND="sci-libs/rocRAND:${SLOT}" +DEPEND=" + ${RDEPEND} + dev-util/hip:${SLOT} +" + +src_configure() { + rocm_use_clang + + local mycmakeargs=( + -Wno-dev + -DAMDGPU_TARGETS="$(get_amdgpu_flags)" + -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF + -DROCM_SYMLINK_LIBS=OFF + -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON + ) + + cmake_src_configure +} diff --git a/sci-libs/hipRAND/metadata.xml b/sci-libs/hipRAND/metadata.xml index c47caac8ebdf..4aef6207aa0b 100644 --- a/sci-libs/hipRAND/metadata.xml +++ b/sci-libs/hipRAND/metadata.xml @@ -14,6 +14,6 @@ <name>Sv. Lockal</name> </maintainer> <upstream> - <remote-id type="github">ROCm/hipRAND</remote-id> + <remote-id type="github">ROCm/rocm-libraries</remote-id> </upstream> </pkgmetadata>
