mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
sci-libs/hipRAND: add 7.1.0
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
This commit is contained in:
parent
1172a8602f
commit
08e2482eda
@ -1,3 +1,4 @@
|
||||
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
|
||||
DIST hipRAND-rocm-7.1.0.tar.gz 135303 BLAKE2B 0204a2b93d086f9ff9ec8bc5e864a7b3e38404c9cd96af43d78a88792e8027e7e518753b53bcd44d17b6b1ad9871f5174ed51f4ff6e1c7ed72c78bd00847f9cf SHA512 35c0ae48d53e787ca7b6a3564697d2666cd74162cbfafcfa9206fe0a2308cade32319b1abb3bee4d08c7381089e5b801117affd392c61980d9b77deccf7450a0
|
||||
|
||||
41
sci-libs/hipRAND/hipRAND-7.1.0.ebuild
Normal file
41
sci-libs/hipRAND/hipRAND-7.1.0.ebuild
Normal file
@ -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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user