From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1565026-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D85A0158089 for <garchives@archives.gentoo.org>; Tue, 24 Oct 2023 08:12:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 201F32BC013; Tue, 24 Oct 2023 08:12:55 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 022312BC013 for <gentoo-commits@lists.gentoo.org>; Tue, 24 Oct 2023 08:12:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3A6A5335CAF for <gentoo-commits@lists.gentoo.org>; Tue, 24 Oct 2023 08:12:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A7D9512B5 for <gentoo-commits@lists.gentoo.org>; Tue, 24 Oct 2023 08:12:52 +0000 (UTC) From: "罗百科" <patrick@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "罗百科" <patrick@gentoo.org> Message-ID: <1698135078.6104d0fe30c1879ed1f48da320d3ffba27c1b88f.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/rocm_bandwidth_test/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/rocm_bandwidth_test/Manifest dev-util/rocm_bandwidth_test/rocm_bandwidth_test-5.7.1.ebuild X-VCS-Directories: dev-util/rocm_bandwidth_test/ X-VCS-Committer: patrick X-VCS-Committer-Name: 罗百科 X-VCS-Revision: 6104d0fe30c1879ed1f48da320d3ffba27c1b88f X-VCS-Branch: master Date: Tue, 24 Oct 2023 08:12:52 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dbc4bdfe-d272-4342-a9be-2acf5fbc9349 X-Archives-Hash: 30693d8641b9d8b48c80db00caf2647a commit: 6104d0fe30c1879ed1f48da320d3ffba27c1b88f Author: Patrick Lauer <patrick <AT> gentoo <DOT> org> AuthorDate: Tue Oct 24 08:09:09 2023 +0000 Commit: 罗百科 <patrick <AT> gentoo <DOT> org> CommitDate: Tue Oct 24 08:11:18 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6104d0fe dev-util/rocm_bandwidth_test: add 5.7.1 Signed-off-by: Patrick Lauer <patrick <AT> gentoo.org> dev-util/rocm_bandwidth_test/Manifest | 1 + .../rocm_bandwidth_test-5.7.1.ebuild | 32 ++++++++++++++++++++++ 2 files changed, 33 insertions(+) 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 +}