dev-libs/rocr-runtime: drop 5.7.1-r3

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2025-10-11 10:07:31 +02:00
parent 44b3609a38
commit d9724577c3
2 changed files with 0 additions and 61 deletions

View File

@@ -1,3 +1,2 @@
DIST rocr-runtime-5.7.1.tar.gz 832009 BLAKE2B 67e4a64ee03b1f6edc43923c7ac44113ab58f78b032dc0a01952b2dd5b2ca37404044811effb9c8d83002ac4ea344a5d95ac62f3c66012bff2884ef55285cdb5 SHA512 a6547a104303032244d17b662a3eda48039732c215debb6178c0af8842c01c60f80989793420c101bd554e58332d215205da0c228dfc25538c56499f47dc6832
DIST rocr-runtime-6.3.3.tar.gz 2260073 BLAKE2B bca4a1809a90a4009b7f1f6e97764ab2f6d235b1c8d16d0417309c6484b2449ff807d248fe05e97867a10e660a86345c442a055081faefa17bbdf6a55b981867 SHA512 5b59d817f0fe5c87cb6eb639c8d1b8e5814b7b236eb961c9b7e2ade81163710b4cebb63f45cdf508a9ae6eb5dc380a63c09b9aa44cb082fe2b85c727efed8061
DIST rocr-runtime-6.4.3.tar.gz 2292387 BLAKE2B 4299e49cf0ead06d1736fe7f5f39b499749f38b7432d0ab1d870310bf087463636696651b12291be14fb56b28099da605887dcb4662e02dfa81bd0801a9d3aa2 SHA512 424af4015d7fe50c97ec27314bfbb21a768617afc29a7ce2fb61edb1fc3933e9451e285ce94a6177c33aed26f7e8c223343c0ec3936e0fe918a85361e6873ba2

View File

@@ -1,60 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LLVM_MAX_SLOT=17
inherit cmake flag-o-matic llvm
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://github.com/RadeonOpenCompute/ROCR-Runtime/"
inherit git-r3
S="${WORKDIR}/${P}/src"
else
SRC_URI="https://github.com/RadeonOpenCompute/ROCR-Runtime/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/ROCR-Runtime-rocm-${PV}/src"
KEYWORDS="~amd64"
fi
DESCRIPTION="Radeon Open Compute Runtime"
HOMEPAGE="https://github.com/RadeonOpenCompute/ROCR-Runtime"
PATCHES=(
"${FILESDIR}/${PN}-4.3.0_no-aqlprofiler.patch"
"${FILESDIR}/${PN}-5.7.1-extend-isa-compatibility-check.patch"
"${FILESDIR}/${PN}-5.7.1-musl.patch"
)
LICENSE="MIT"
SLOT="0/$(ver_cut 1-2)"
IUSE="debug"
COMMON_DEPEND="dev-libs/elfutils
x11-libs/libdrm"
DEPEND="${COMMON_DEPEND}
>=dev-libs/roct-thunk-interface-${PV}
>=dev-libs/rocm-device-libs-${PV}
<=dev-libs/rocm-device-libs-6.0
llvm-core/clang:${LLVM_MAX_SLOT}=
llvm-core/lld:${LLVM_MAX_SLOT}="
RDEPEND="${DEPEND}"
BDEPEND="app-editors/vim-core"
# vim-core is needed for "xxd"
src_prepare() {
# Gentoo installs "*.bc" to "/usr/lib" instead of a "[path]/bitcode" directory ...
sed -e "s:-O2:--rocm-path=${EPREFIX}/usr/lib/ -O2:" -i image/blit_src/CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
# -Werror=odr
# https://bugs.gentoo.org/856091
# https://github.com/ROCm/ROCR-Runtime/issues/182
filter-lto
use debug || append-cxxflags "-DNDEBUG"
local mycmakeargs=( -DINCLUDE_PATH_COMPATIBILITY=OFF )
cmake_src_configure
}