commit: ca6e1f9e64e7a5a933d4e5fb6ca1309f51bfe868 Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com> AuthorDate: Mon Feb 16 05:58:29 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Mar 6 00:44:10 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca6e1f9e
sci-libs/hipRAND: add 7.2.0 Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/45826 Signed-off-by: Sam James <sam <AT> gentoo.org> sci-libs/hipRAND/Manifest | 1 + sci-libs/hipRAND/hipRAND-7.2.0.ebuild | 40 +++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/sci-libs/hipRAND/Manifest b/sci-libs/hipRAND/Manifest index c81506f56c46..f4af338e7b45 100644 --- a/sci-libs/hipRAND/Manifest +++ b/sci-libs/hipRAND/Manifest @@ -2,3 +2,4 @@ DIST hipRAND-rocm-6.3.3.tar.gz 125512 BLAKE2B 3a1c5fbdc115e6372dd88501abebab7290 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 DIST hipRAND-rocm-7.1.0.tar.gz 135303 BLAKE2B 0204a2b93d086f9ff9ec8bc5e864a7b3e38404c9cd96af43d78a88792e8027e7e518753b53bcd44d17b6b1ad9871f5174ed51f4ff6e1c7ed72c78bd00847f9cf SHA512 35c0ae48d53e787ca7b6a3564697d2666cd74162cbfafcfa9206fe0a2308cade32319b1abb3bee4d08c7381089e5b801117affd392c61980d9b77deccf7450a0 +DIST hiprand-7.2.0.tar.gz 136875 BLAKE2B fb4c1d852a937a063f5f25891a24856f7e5867ef3be88ec48bedff510e0925bea5c0313cea8b8ad8cc609fcfbb0574c101c3cff8f9a9cd17753785e733b2a6e6 SHA512 f1b9d254ecd246ff6815c28575bd51422710d6503aff025505bad5821948cbbfd2b5b707de07c17e1aec379c7b347c409d13c2b25a6c4d7996f0323e21da7c89 diff --git a/sci-libs/hipRAND/hipRAND-7.2.0.ebuild b/sci-libs/hipRAND/hipRAND-7.2.0.ebuild new file mode 100644 index 000000000000..566735661d4e --- /dev/null +++ b/sci-libs/hipRAND/hipRAND-7.2.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2026 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/rocm-libraries/releases/download/rocm-${PV}/hiprand.tar.gz -> hiprand-${PV}.tar.gz" +S="${WORKDIR}/hiprand" + +REQUIRED_USE="${ROCM_REQUIRED_USE}" + +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64" + +RESTRICT="test" + +RDEPEND=" + sci-libs/rocRAND:${SLOT} + dev-util/hip:${SLOT} +" +DEPEND="${RDEPEND}" + +src_configure() { + rocm_use_clang + + local mycmakeargs=( + -Wno-dev + -DAMDGPU_TARGETS="$(get_amdgpu_flags)" + -DROCM_SYMLINK_LIBS=OFF + -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON + ) + + cmake_src_configure +}
