dev-build/rocm-cmake: add 6.4.1

Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/42554
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sv. Lockal
2025-06-08 08:56:00 +00:00
committed by Sam James
parent 4eae7a8c1f
commit 370d7ff1d7
2 changed files with 36 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST rocm-cmake-6.1.2.tar.gz 86889 BLAKE2B 66e31b629171a5746eefd83e1ff14826a02f5d20a7b3125e20177bf801fa48526f541fcf9be0c832041a237799cd3d38a3daaec8f4dc17a5c048f7d603b7ef30 SHA512 9c83bd0b69a8bf040ddf9508df4ea8fb5daaaf8720f4b60ba3d6e4cc62b00a7dcfeead40cd37a6343b2173f9cf5db2e21f054661dcc2ac0591426e37ba61d3ba
DIST rocm-cmake-6.3.2.tar.gz 88821 BLAKE2B 0d052dbeef7763a222a6304325e02895147b6433fd1b778bae9fabb5ea4287e912d80b7c54bf8b04f02beb5ec4394e9926ab46dd2f612780571453837e9051e3 SHA512 d365c496ef5f631c27a3ef0895540497dc069c5d3bf8ff27646b76964e09c7bc658f3bc7288b7703dbe21889d3beec2ffdb5983fe8af66026dfc19b99747ab47
DIST rocm-cmake-6.3.3.tar.gz 88828 BLAKE2B a6c1b8eed57c3bbc641e617cfa3189c98d55c9468d232fd0fa5d3f19d8930f994ddd8af27ba818776078075340d514ce83899a3799224a06a59fd0d1ba40d89f SHA512 1ffac8fc4d8ecff781e214684b0e892d9d886d839282ff59dc458194850479453e059f63959a0042e26a2a623a50b421ca4ddddd604da0404c760e7649006c31
DIST rocm-cmake-6.4.1.tar.gz 89082 BLAKE2B a00cbd71706d25b46a82414d5fe903406c758674d30aeef42195580e20d8765f5a86cec4c124714598bdf8fe96075d518800ae9286e8fbb6bde157c3ed5626b0 SHA512 0810d1ea2597285880ceb672e002e29177928bcc0c0c9a6e8651f8f8c20824a1b11bb45b9bc606a72a2f52eafc4540f9ea12d51e332cd34ed3ee4d97259ef884

View File

@@ -0,0 +1,35 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/ROCm/rocm-cmake.git"
inherit git-r3
else
SRC_URI="https://github.com/ROCm/rocm-cmake/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/rocm-cmake-rocm-${PV}"
fi
DESCRIPTION="Radeon Open Compute CMake Modules"
HOMEPAGE="https://github.com/ROCm/rocm-cmake"
LICENSE="MIT"
SLOT="0/$(ver_cut 1-2)"
RESTRICT="test"
DOCS=( CHANGELOG.md LICENSE README.md )
PATCHES=(
"${FILESDIR}"/${PN}-6.1.1-license.patch
"${FILESDIR}"/${PN}-6.1.1-no-rocmchecks-warnings.patch
)
src_prepare() {
sed -e "/CMAKE_INSTALL_LIBDIR/s:lib:$(get_libdir):" \
-i "share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake" \
-i "share/rocmcmakebuildtools/cmake/ROCMInstallTargets.cmake" || die
cmake_src_prepare
}