diff options
-rw-r--r-- | dev-util/rocminfo/Manifest | 1 | ||||
-rw-r--r-- | dev-util/rocminfo/rocminfo-3.3.0.ebuild | 32 | ||||
-rw-r--r-- | dev-util/rocminfo/rocminfo-9999.ebuild | 4 |
3 files changed, 35 insertions, 2 deletions
diff --git a/dev-util/rocminfo/Manifest b/dev-util/rocminfo/Manifest index 2d2a2b1f111d..a4dbe1c21a04 100644 --- a/dev-util/rocminfo/Manifest +++ b/dev-util/rocminfo/Manifest @@ -5,3 +5,4 @@ DIST rocminfo-2.8.0.tar.gz 14786 BLAKE2B ec439fb771980d6b4777e9c3b11e23055eee7b8 DIST rocminfo-2.9.0.tar.gz 14791 BLAKE2B 5438862e461b9c2f53560138f4b7437876048edff6ff31715e9af2be535167042b170c492c59c41862a55a742a53047e2e9f0478fa73c8cf948c0fc1ff388594 SHA512 90c5c1de3ea6e917b338a5498d9e071dd491a97bd7b927dc1ddca568df08b52b6b8518a1105dfab7a262b78d1cb89117813084dfce6b73d7aae40abd357f81d1 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 diff --git a/dev-util/rocminfo/rocminfo-3.3.0.ebuild b/dev-util/rocminfo/rocminfo-3.3.0.ebuild new file mode 100644 index 000000000000..cac515f5ca2b --- /dev/null +++ b/dev-util/rocminfo/rocminfo-3.3.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 +} diff --git a/dev-util/rocminfo/rocminfo-9999.ebuild b/dev-util/rocminfo/rocminfo-9999.ebuild index 99b4e1f557d2..cac515f5ca2b 100644 --- a/dev-util/rocminfo/rocminfo-9999.ebuild +++ b/dev-util/rocminfo/rocminfo-9999.ebuild @@ -9,9 +9,9 @@ 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" + SRC_URI="https://github.com/RadeonOpenCompute/rocminfo/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64" - S="${WORKDIR}/rocminfo-roc-${PV}" + S="${WORKDIR}/rocminfo-rocm-${PV}" fi DESCRIPTION="ROCm Application for Reporting System Info" |