summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Andrews <candrews@gentoo.org>2019-09-25 14:06:28 -0400
committerCraig Andrews <candrews@gentoo.org>2019-09-25 14:14:17 -0400
commitddfc453d6078730e81a93a18d4a46966b01ba35b (patch)
treee4158312ef51ad53486168febc218fb46bed453e /dev-util/rocminfo
parentsys-devel/llvm-roc: 2.8.0 version bump (diff)
downloadgentoo-ddfc453d6078730e81a93a18d4a46966b01ba35b.tar.gz
gentoo-ddfc453d6078730e81a93a18d4a46966b01ba35b.tar.bz2
gentoo-ddfc453d6078730e81a93a18d4a46966b01ba35b.zip
dev-util/rocminfo: 2.8.0 version bump
Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'dev-util/rocminfo')
-rw-r--r--dev-util/rocminfo/Manifest1
-rw-r--r--dev-util/rocminfo/rocminfo-2.8.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-util/rocminfo/Manifest b/dev-util/rocminfo/Manifest
index 3f79979809f7..7c9154c954dc 100644
--- a/dev-util/rocminfo/Manifest
+++ b/dev-util/rocminfo/Manifest
@@ -1,2 +1,3 @@
DIST rocminfo-2.6.0.tar.gz 12293 BLAKE2B b08725b45f48e78841da9d6e57bb19a441a423e20f853d16024c620914059abf3cb2e61c12ae6fdfdb85eb3e984d488ae9975ab3fd2fcc529ecb576c6816fc92 SHA512 e2dae7e2e02b674b3ad959a3dffdcd8f550842edfd0eac5866259a6a12de1a5f935afbdcb37845fa189d0937c41186f0eb8be08e7b346ddef959d5dd7b62dca7
DIST rocminfo-2.7.0.tar.gz 12671 BLAKE2B 6cb6e2fa458224654f4b672d117e2a6c71c7d5aeed8ac71cf7ecddb76d9209f25596521b31465a94fde1c91744fc9bf68e637f7ff4f67a000cbfbe4793c5fa4b SHA512 ffdaa3d11d85475c7600c6b25d8eb7f90cbda13b820f33c250a7ac9b90f92d4d5352d8baee765b4bd3b9c7389b5ab6d3b87df77bf62d6696ed8cd96bfc6be1a0
+DIST rocminfo-2.8.0.tar.gz 14786 BLAKE2B ec439fb771980d6b4777e9c3b11e23055eee7b898db2fd6d109c8ad53b0d615baa2d29ed4f1eb7ef673520396e63f0901dffc986bf38e58dcf41f068b25e26ce SHA512 7528deb80b97b70215a0e6aeaf55f9409a53d8aeee921d25da037fbc081bda43263954be8c12a0c3e3441b53aa16a10b83cce7698fc1eaeb5a2bf9168844e617
diff --git a/dev-util/rocminfo/rocminfo-2.8.0.ebuild b/dev-util/rocminfo/rocminfo-2.8.0.ebuild
new file mode 100644
index 000000000000..cf2e52c9247d
--- /dev/null
+++ b/dev-util/rocminfo/rocminfo-2.8.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/RadeonOpenCompute/rocminfo/"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/RadeonOpenCompute/rocminfo/archive/roc-${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/rocminfo-roc-${PV}"
+fi
+
+DESCRIPTION="ROCm Application for Reporting System Info"
+HOMEPAGE="https://github.com/RadeonOpenCompute/rocminfo"
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+
+RDEPEND="dev-libs/rocr-runtime"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DROCM_DIR="${ESYSROOT}/usr"
+ -DROCR_INC_DIR="${ESYSROOT}/usr/include"
+ -DROCR_LIB_DIR="${EPREFIX}/usr/$(get_libdir)"
+ )
+ cmake-utils_src_configure
+}