From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F1D391382C5 for ; Sat, 6 Jun 2020 18:00:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44062E09DB; Sat, 6 Jun 2020 18:00:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1889CE09DB for ; Sat, 6 Jun 2020 18:00:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D307034F2F8 for ; Sat, 6 Jun 2020 18:00:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC02B27F for ; Sat, 6 Jun 2020 18:00:03 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1591466399.04fab0c7f74af64f684370a88eb8359878b397e3.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rocminfo/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/rocminfo/Manifest dev-util/rocminfo/rocminfo-3.5.0.ebuild X-VCS-Directories: dev-util/rocminfo/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 04fab0c7f74af64f684370a88eb8359878b397e3 X-VCS-Branch: master Date: Sat, 6 Jun 2020 18:00:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 26acbe1e-d014-448a-ab07-d79db5f9df1f X-Archives-Hash: 472655c588e0c52f8b581f0fbfa8c072 commit: 04fab0c7f74af64f684370a88eb8359878b397e3 Author: Wilfried Holzke holzke net> AuthorDate: Sat Jun 6 17:51:36 2020 +0000 Commit: Craig Andrews gentoo org> CommitDate: Sat Jun 6 17:59:59 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04fab0c7 dev-util/rocminfo: New ebuild for rocminfo 3.5.0 Signed-off-by: Wilfried Holzke holzke.net> Package-Manager: Portage-2.3.99, Repoman-2.3.22 Closes: https://github.com/gentoo/gentoo/pull/16088 Signed-off-by: Craig Andrews gentoo.org> dev-util/rocminfo/Manifest | 1 + dev-util/rocminfo/rocminfo-3.5.0.ebuild | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/dev-util/rocminfo/Manifest b/dev-util/rocminfo/Manifest index a4dbe1c21a0..e3d8e988f50 100644 --- a/dev-util/rocminfo/Manifest +++ b/dev-util/rocminfo/Manifest @@ -6,3 +6,4 @@ DIST rocminfo-2.9.0.tar.gz 14791 BLAKE2B 5438862e461b9c2f53560138f4b7437876048ed DIST rocminfo-3.0.0.tar.gz 14786 BLAKE2B 4fab1258ff9b43620c79c811678071c38db5afedd9fb5a95227d73e7d2d4104dfbaa72855c845a663b8dabb9ea8f17962baa5ca65613fc40c2d3c3e1c1b7d08b SHA512 94f7c3773b18a8d3bce773b624164d0a4b928b2411ef83307e46634e09259eb8f431f576f0673186f1f44b54c72004818aa10858520b8d86fe283f2f5ed3f5f1 DIST rocminfo-3.1.0.tar.gz 15113 BLAKE2B 5155819afff87a87a40d5e57c194573a29b85d654bfaf446a17a893490143546e8c706020baae4f1d23a28e53894b20f457dcabf8615730e42e4a18b2caefe12 SHA512 d0be50bab99c4df1ce74e3bf98db68249c681a5eeb6839e4ee6aa91a208ed829d1288ce3cc82f564a22ca8b6f62b65f3c40c3784e21e1fd4953c81315d044dfc DIST rocminfo-3.3.0.tar.gz 15120 BLAKE2B 4ac93144dc76d5b8839d3d1cca51d92fdd88ee66ec141afccd84fa3ef2fcf4b140dc78d43f8cbb57eba678e00c247c8189b80c1e0b69662226b505dca57f6be1 SHA512 f2f273882a83632f0d9e7817a722b252cb2c1c7cf5d86cc8980ea680c073f6aa666c4150fff498e8bc48396e3e23f544d05485ee1672bc34223ca8ec64226854 +DIST rocminfo-3.5.0.tar.gz 15503 BLAKE2B 4b3ae79ea2f95fa5783cbbe7ed1aed0085de65f5b4b9d1c58ae7a32b18129d614f81a09c1979132e53acafaf94c1df4b0e08d558d091e55ca412e6ea44f84c89 SHA512 41834d462caca19b3645667bf440946c37d9f2fb0bd209f2b6c506c7debd7950807d787c0bc1cee206249c8651e7a315965965f29471d4832de5ee8e42cba1bb diff --git a/dev-util/rocminfo/rocminfo-3.5.0.ebuild b/dev-util/rocminfo/rocminfo-3.5.0.ebuild new file mode 100644 index 00000000000..cac515f5ca2 --- /dev/null +++ b/dev-util/rocminfo/rocminfo-3.5.0.ebuild @@ -0,0 +1,32 @@ +# 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" +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 +}