Gentoo Archives: gentoo-commits

From: "罗百科" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rocm_bandwidth_test/
Date: Thu, 02 Mar 2023 08:54:03
Message-Id: 1677747237.5900b992a552550f9137ecceefa3e35a679ae352.patrick@gentoo
1 commit: 5900b992a552550f9137ecceefa3e35a679ae352
2 Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 2 08:53:29 2023 +0000
4 Commit: 罗百科 <patrick <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 2 08:53:57 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5900b992
7
8 dev-util/rocm_bandwidth_test: add 5.4.3
9
10 Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org>
11
12 dev-util/rocm_bandwidth_test/Manifest | 1 +
13 .../rocm_bandwidth_test-5.4.3.ebuild | 26 ++++++++++++++++++++++
14 2 files changed, 27 insertions(+)
15
16 diff --git a/dev-util/rocm_bandwidth_test/Manifest b/dev-util/rocm_bandwidth_test/Manifest
17 index c22630347d05..1b1fea2f1adf 100644
18 --- a/dev-util/rocm_bandwidth_test/Manifest
19 +++ b/dev-util/rocm_bandwidth_test/Manifest
20 @@ -1 +1,2 @@
21 DIST rocm_bandwidth_test-5.3.3.tar.gz 38681 BLAKE2B 02a09ae869b507ad117e40e2daadd6e2acb2a365b12e5f601a4c8d6e55d3fb51de32feef9122bd532700b46843310ed83088842728a814f55695a3572e83d1d1 SHA512 155480284cdd1b0e42c62ab49f536ef12f2b9cbfcf0e8d076938cf0cf86872b536506a81e283b656ef1896d7d6e691e06145b2021593542755dd7460d08002c9
22 +DIST rocm_bandwidth_test-5.4.3.tar.gz 38761 BLAKE2B ab3c8fd15039081f7b42e1c5c82e06f2cf3f5c70c0868bf0c195507dd97669f199ecdaa895d292d225bce7aa069d14836923ff9ffd43d13749ca312ed07d3402 SHA512 676ba7aa26fd5eb2858ff61c8cf49ea3c5d51e87f5fa3bd6389c7c53e02561281d2d4a751369ccc66270f1d04b5ec9e55048ba23e758f0be8ef8e2abfd2026c2
23
24 diff --git a/dev-util/rocm_bandwidth_test/rocm_bandwidth_test-5.4.3.ebuild b/dev-util/rocm_bandwidth_test/rocm_bandwidth_test-5.4.3.ebuild
25 new file mode 100644
26 index 000000000000..684546f46011
27 --- /dev/null
28 +++ b/dev-util/rocm_bandwidth_test/rocm_bandwidth_test-5.4.3.ebuild
29 @@ -0,0 +1,26 @@
30 +# Copyright 2022-2023 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +inherit cmake
36 +
37 +DESCRIPTION="Bandwidth test for ROCm"
38 +HOMEPAGE="https://github.com/RadeonOpenCompute/rocm_bandwidth_test"
39 +SRC_URI="https://github.com/RadeonOpenCompute/${PN}/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +LICENSE="NCSA-AMD"
42 +SLOT="0/$(ver_cut 1-2)"
43 +KEYWORDS="~amd64"
44 +
45 +DEPEND="dev-libs/rocr-runtime:="
46 +RDEPEND="${DEPEND}"
47 +BDEPEND=""
48 +
49 +S="${WORKDIR}/${PN}-rocm-${PV}"
50 +
51 +src_install() {
52 + cmake_src_install
53 +
54 + rm -rfv "${ED}"/usr/share/doc/rocm-bandwidth-test
55 +}