mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-libs/rocm-core: new package, add 7.0.2
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>
This commit is contained in:
1
dev-libs/rocm-core/Manifest
Normal file
1
dev-libs/rocm-core/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST rocm-core-7.0.2.tar.gz 20551 BLAKE2B 453c5a11790d24200b8165e0d18246ea006a580f84beb51f6cd6f76ed9b880711f413011e62daec8de3c4d6cad54f53407cb082673017d645149a850ea2181bc SHA512 9dd7c6965bd13ebc92e3d16b7bd680e50de163afb532a4eb962668799650a89f2a7dcbe18935d858664fcfdbcb12373af1ff5e8ac4778ee8b7b4692d1a253c3e
|
||||
15
dev-libs/rocm-core/metadata.xml
Normal file
15
dev-libs/rocm-core/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lockalsash@gmail.com</email>
|
||||
<name>Sv. Lockal</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ROCm/rocm-systems</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
28
dev-libs/rocm-core/rocm-core-7.0.2.ebuild
Normal file
28
dev-libs/rocm-core/rocm-core-7.0.2.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# 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"
|
||||
Reference in New Issue
Block a user