summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilfried Holzke <gentoo@holzke.net>2020-09-22 20:07:47 +0200
committerCraig Andrews <candrews@gentoo.org>2020-09-22 14:00:44 -0400
commit6486674365c09180943157f6b4b7f91721095b42 (patch)
tree3e86ba0e63cc1a896e3e4ff866c906fe12c209ca
parentnet-wireless/rtl_433: bump (diff)
downloadgentoo-6486674365c09180943157f6b4b7f91721095b42.tar.gz
gentoo-6486674365c09180943157f6b4b7f91721095b42.tar.bz2
gentoo-6486674365c09180943157f6b4b7f91721095b42.zip
dev-util/rocminfo: Version bump to 3.8.0
Signed-off-by: Wilfried Holzke <gentoo@holzke.net> Package-Manager: Portage-3.0.4, Repoman-3.0.1 Closes: https://github.com/gentoo/gentoo/pull/17637 Signed-off-by: Craig Andrews <candrews@gentoo.org>
-rw-r--r--dev-util/rocminfo/Manifest1
-rw-r--r--dev-util/rocminfo/rocminfo-3.8.0.ebuild23
-rw-r--r--dev-util/rocminfo/rocminfo-9999.ebuild9
3 files changed, 24 insertions, 9 deletions
diff --git a/dev-util/rocminfo/Manifest b/dev-util/rocminfo/Manifest
index 1a4231a2ce6..e79a96708c0 100644
--- a/dev-util/rocminfo/Manifest
+++ b/dev-util/rocminfo/Manifest
@@ -1 +1,2 @@
DIST rocminfo-3.7.0.tar.gz 15104 BLAKE2B 728ce471e52dadca8b59aa3196c2f75933650e3002335014accd7f8eada19d4936a7404f908d50747a0e51faa8a65764200072cf598f9d0855a3052db8290160 SHA512 25a6a9216366e310ece9db50a21bc0eb7741760a7b46fa1818ee102557000348f430f9269e2ba9e872437dfafcb31ac563476e2bf83a10705fde8dd5fc854404
+DIST rocminfo-3.8.0.tar.gz 15103 BLAKE2B afa6a2cd3315b18f2711cf1de4701e672beac76d08548453f9377c865f2b108f4f50340f545a9040450c7acded3ac093d334908a7ceddba35c847136fe92aa77 SHA512 c75fa7a4116b9cfa75d6b7ff3920c85ad19fea09ab5f6a7abebde9cd184763905aea8684574f6b1919044806af8ab35a81d7f6010cbd0fb18b36699a182b5f39
diff --git a/dev-util/rocminfo/rocminfo-3.8.0.ebuild b/dev-util/rocminfo/rocminfo-3.8.0.ebuild
new file mode 100644
index 00000000000..6de4e9b7cca
--- /dev/null
+++ b/dev-util/rocminfo/rocminfo-3.8.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+if [[ ${PV} == *9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/RadeonOpenCompute/rocminfo/"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/RadeonOpenCompute/rocminfo/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}/rocminfo-rocm-${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-${PV}"
+DEPEND="${RDEPEND}"
diff --git a/dev-util/rocminfo/rocminfo-9999.ebuild b/dev-util/rocminfo/rocminfo-9999.ebuild
index cac515f5ca2..c993e808caf 100644
--- a/dev-util/rocminfo/rocminfo-9999.ebuild
+++ b/dev-util/rocminfo/rocminfo-9999.ebuild
@@ -21,12 +21,3 @@ 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_src_configure
-}