dev-build/rocm-cmake: add 10.1.0

Bug: https://bugs.gentoo.org/984016
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/46894
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Sv. Lockal
2026-10-17 16:51:40 +02:00
committed by Alfredo Tupone
parent 465f6a3c65
commit bd4e3d0435
2 changed files with 44 additions and 0 deletions
+1
View File
@@ -1,3 +1,4 @@
DIST rocm-cmake-10.1.0.tar.gz 89926 BLAKE2B 21b61892e3ba77824fbaaa224fa95089213299e680752716d635a2684f119cda515b746aa81b3341d9bbf6e6abf5eb815bed88fc281f75b228bacf97d0bb3a15 SHA512 fadfe8cfae4b09c39a76f2c9d11f7f97e2bfb15a204c3fcdd17d7486fcfc9cadc1a79a67cf62ceae5cb1a5fcb33ddb9e9a3dfe4f3df19198c5a16a50f8db215e
DIST rocm-cmake-6.3.3.tar.gz 88828 BLAKE2B a6c1b8eed57c3bbc641e617cfa3189c98d55c9468d232fd0fa5d3f19d8930f994ddd8af27ba818776078075340d514ce83899a3799224a06a59fd0d1ba40d89f SHA512 1ffac8fc4d8ecff781e214684b0e892d9d886d839282ff59dc458194850479453e059f63959a0042e26a2a623a50b421ca4ddddd604da0404c760e7649006c31
DIST rocm-cmake-6.4.3.tar.gz 89082 BLAKE2B 0368fa4baf32e725d734a9861fe89be050b4219fb1300f1f5a748f6927a1b8fd25e79e068d8dd31a8516d790a5cef1430992c5e9e11c9c1dd6463ed7d3a0db70 SHA512 356aa272d20deed8c0da8ed088079dd8530f23362ff22a563e91380bc543a0d68d2058ba6ec8f7355d1ad0d03578afeff474845ab1f78f23ee553cfccb1791bc
DIST rocm-cmake-7.0.2.tar.gz 89918 BLAKE2B 6379fd89b4cefb108cde8197da4bb689bf5792f10ff2ac5a33dcf5dc9b3d25bc493261226ed1403c631e71f8e03bb14fa42d83a67b629cefe85f513c2e38ec98 SHA512 644fb7f9c09189fb7f5420d318c03ed41fb7513f35de915f35a713919af75f4cfe926e4ea20996cb5880cc3460c163fc49bb45f7669a2d36f5ff9bec4cf12565
@@ -0,0 +1,43 @@
# Copyright 1999-2026 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/therock-${PV%.0}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/rocm-cmake-therock-${PV%.0}"
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-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
sed -e "/rocm_setup_license(\${PARSE_HEADER_ONLY})/d" \
-i "share/rocmcmakebuildtools/cmake/ROCMCreatePackage.cmake" || die
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-Wno-dev
)
cmake_src_configure
}