mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
This is a small package which includes header and verson library. Previously the same header was added by dev-util/hip ebuild, but other packages like amdsmi also use rocm-core library, so it is better to install them in a separate packages (as intended by upstream). Bug: https://bugs.gentoo.org/964799 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44165 Signed-off-by: Sam James <sam@gentoo.org>
29 lines
709 B
Bash
29 lines
709 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake
|
|
|
|
DESCRIPTION="Library that provides ROCm release version and install path information"
|
|
HOMEPAGE="https://github.com/ROCm/rocm-systems/tree/develop/projects/rocm-core"
|
|
SRC_URI="https://github.com/ROCm/rocm-core/archive/refs/tags/rocm-${PV}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/rocm-core-rocm-${PV}"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0/$(ver_cut 1-2)"
|
|
KEYWORDS="~amd64"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=( -DROCM_VERSION=${PV} )
|
|
cmake_src_configure
|
|
}
|
|
|
|
src_install() {
|
|
cmake_src_install
|
|
# too broad for standard directory
|
|
rm "${ED}"/usr/.info/version || die
|
|
}
|
|
|
|
RDEPEND="!<dev-util/hip-7.0"
|