diff options
author | Patrick Lauer <patrick@gentoo.org> | 2023-10-24 08:09:09 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2023-10-24 08:11:18 +0000 |
commit | 6104d0fe30c1879ed1f48da320d3ffba27c1b88f (patch) | |
tree | 7f7375bf407456459d1bbf3849348c368ee11188 /dev-util/rocm_bandwidth_test | |
parent | dev-libs/rocr-runtime: Fix RDEPEND (diff) | |
download | gentoo-6104d0fe30c1879ed1f48da320d3ffba27c1b88f.tar.gz gentoo-6104d0fe30c1879ed1f48da320d3ffba27c1b88f.tar.bz2 gentoo-6104d0fe30c1879ed1f48da320d3ffba27c1b88f.zip |
dev-util/rocm_bandwidth_test: add 5.7.1
Signed-off-by: Patrick Lauer <patrick@gentoo.org>
Diffstat (limited to 'dev-util/rocm_bandwidth_test')
-rw-r--r-- | dev-util/rocm_bandwidth_test/Manifest | 1 | ||||
-rw-r--r-- | dev-util/rocm_bandwidth_test/rocm_bandwidth_test-5.7.1.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-util/rocm_bandwidth_test/Manifest b/dev-util/rocm_bandwidth_test/Manifest index 1b1fea2f1adf..94ecfa527492 100644 --- a/dev-util/rocm_bandwidth_test/Manifest +++ b/dev-util/rocm_bandwidth_test/Manifest @@ -1,2 +1,3 @@ DIST rocm_bandwidth_test-5.3.3.tar.gz 38681 BLAKE2B 02a09ae869b507ad117e40e2daadd6e2acb2a365b12e5f601a4c8d6e55d3fb51de32feef9122bd532700b46843310ed83088842728a814f55695a3572e83d1d1 SHA512 155480284cdd1b0e42c62ab49f536ef12f2b9cbfcf0e8d076938cf0cf86872b536506a81e283b656ef1896d7d6e691e06145b2021593542755dd7460d08002c9 DIST rocm_bandwidth_test-5.4.3.tar.gz 38761 BLAKE2B ab3c8fd15039081f7b42e1c5c82e06f2cf3f5c70c0868bf0c195507dd97669f199ecdaa895d292d225bce7aa069d14836923ff9ffd43d13749ca312ed07d3402 SHA512 676ba7aa26fd5eb2858ff61c8cf49ea3c5d51e87f5fa3bd6389c7c53e02561281d2d4a751369ccc66270f1d04b5ec9e55048ba23e758f0be8ef8e2abfd2026c2 +DIST rocm_bandwidth_test-5.7.1.tar.gz 38769 BLAKE2B 5880c4bb50d4daf87581424c2fb208363d2d34f848d3ced163b3809e5dff4e56996abf3edc6f8c8ca75f55d95b92604de6ee0c333930d32c7c52c8bcdb6562e6 SHA512 7da08b7a9bbde34e3b2b799e47e490d34dc69225b9d5efe103fd23f3a417fc7a48dcc813d2669ee4506f6699c4576c549f982a4a76a92d83447d6fab709f5042 diff --git a/dev-util/rocm_bandwidth_test/rocm_bandwidth_test-5.7.1.ebuild b/dev-util/rocm_bandwidth_test/rocm_bandwidth_test-5.7.1.ebuild new file mode 100644 index 000000000000..72bd53abb467 --- /dev/null +++ b/dev-util/rocm_bandwidth_test/rocm_bandwidth_test-5.7.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Bandwidth test for ROCm" +HOMEPAGE="https://github.com/RadeonOpenCompute/rocm_bandwidth_test" +SRC_URI="https://github.com/RadeonOpenCompute/${PN}/archive/rocm-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="NCSA-AMD" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64" + +DEPEND="dev-libs/rocr-runtime:=" +RDEPEND="${DEPEND}" +BDEPEND="" + +S="${WORKDIR}/${PN}-rocm-${PV}" + +src_prepare() { + # the autodetection logic here is very very confused. This makes it not fail. + sed -i -e 's/if(${hsa-runtime64_FOUND})/if(false)/' CMakeLists.txt + cmake_src_prepare +} + +src_install() { + cmake_src_install + + rm -rfv "${ED}"/usr/share/doc/rocm-bandwidth-test +} |