commit: 3ab4daf6f8a18b94d97c0b1119ed1c72a3938349 Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com> AuthorDate: Wed Jun 11 02:41:35 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jun 14 22:37:05 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ab4daf6
sci-libs/hipRAND: add 6.4.1 Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42554 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-libs/hipRAND/Manifest | 1 + sci-libs/hipRAND/hipRAND-6.4.1.ebuild | 38 +++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/sci-libs/hipRAND/Manifest b/sci-libs/hipRAND/Manifest index dd0e7622a0c8..7e56e93f519f 100644 --- a/sci-libs/hipRAND/Manifest +++ b/sci-libs/hipRAND/Manifest @@ -2,3 +2,4 @@ DIST hipRAND-rocm-5.7.1.tar.gz 478352 BLAKE2B 5f435cf53d213b1d95ee8b766df2c9bc4b DIST hipRAND-rocm-6.1.1.tar.gz 119063 BLAKE2B dc314d8b09c15351075594335d14f65024be54597e7cbdfb7671ebea29fa208c9a33530a2d406a8a2a9d8738f0aae7e9fc25d8c39304ef2ef27aaf8b327b5975 SHA512 4c350c8a75e6b4064e22cd73679f66e5caf28f7922fc47ef9670c1023b58b36bf3a2a35580463ee7c89e26ed924aaaa68166a11f64823b99f2f8302f80d6e87a DIST hipRAND-rocm-6.3.2.tar.gz 125506 BLAKE2B 836eb474c4b88a4729e3e9176736b28c090cf2add0ef463bf594deede353b755a1a07ef5898ec51e3ae66c2972cbfe6a71815020dd5f3e3b1aca105d8d8ca8e2 SHA512 8f3893ec89f76b859847b75acf3ec20f751924cd16d3ea25dbb0e1f2a5b7d75832c214e6ce9e180e3f74fbcb0c4bf95b75bf3ad32e9ac34e5e0f7522554f38a6 DIST hipRAND-rocm-6.3.3.tar.gz 125512 BLAKE2B 3a1c5fbdc115e6372dd88501abebab729022fcda03c9a3a39848fdce15f335abd772f82660af09c48abe9b88f138866a31273f5ee2b4290400ecf8cc3f8e2456 SHA512 ee2e4364d07e7ed3515f3c1094119e54055d052e396b5dece738241c8404eecb75e737f43e513262474140c78046430ea5d7f3d915c321c5d9ba4b20778ccc6e +DIST hipRAND-rocm-6.4.1.tar.gz 126535 BLAKE2B 54e241cd63da3ed1ed9b6bbe6b2878092163acb5b69ceebff3fc04a94f1d0977bb2131051f6b01937ad318c3b04a6b992d5c7be42a74c37a58a585d6de61d24d SHA512 99b15b6e7aa46ad7928514cb75631fecbd85cc5af21e972249e309a00656e05048c8483a34d7151fa9b40caa4ac48953ed6c40755ff7e009d81dae46d184dfd7 diff --git a/sci-libs/hipRAND/hipRAND-6.4.1.ebuild b/sci-libs/hipRAND/hipRAND-6.4.1.ebuild new file mode 100644 index 000000000000..1ee1fed9a882 --- /dev/null +++ b/sci-libs/hipRAND/hipRAND-6.4.1.ebuild @@ -0,0 +1,38 @@ +# 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/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="dev-util/hip + sci-libs/rocRAND:${SLOT}" +DEPEND="${RDEPEND}" + +src_configure() { + rocm_use_hipcc + + local mycmakeargs=( + -Wno-dev + -DAMDGPU_TARGETS="$(get_amdgpu_flags)" + -DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF + -DROCM_SYMLINK_LIBS=OFF + ) + + cmake_src_configure +}
