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.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 6FFA4158030 for ; Thu, 2 Mar 2023 08:54:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81D3DE07D4; Thu, 2 Mar 2023 08:54:02 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 63065E07D0 for ; Thu, 2 Mar 2023 08:54:02 +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 7F1FB33C1C2 for ; Thu, 2 Mar 2023 08:54:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD931865 for ; Thu, 2 Mar 2023 08:53:59 +0000 (UTC) From: "罗百科" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "罗百科" Message-ID: <1677747237.d46ef5409051d8a325ff959f94c10b6981f6ebbb.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/rocr-runtime/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/rocr-runtime/rocr-runtime-5.4.3-r1.ebuild dev-libs/rocr-runtime/rocr-runtime-5.4.3.ebuild X-VCS-Directories: dev-libs/rocr-runtime/ X-VCS-Committer: patrick X-VCS-Committer-Name: 罗百科 X-VCS-Revision: d46ef5409051d8a325ff959f94c10b6981f6ebbb X-VCS-Branch: master Date: Thu, 2 Mar 2023 08:53:59 +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: a4ea03fc-d137-4efe-a227-175be4ab506c X-Archives-Hash: 8c60361a3a8f07a02a6e3efee505cff7 commit: d46ef5409051d8a325ff959f94c10b6981f6ebbb Author: Patrick Lauer gentoo org> AuthorDate: Thu Mar 2 08:50:43 2023 +0000 Commit: 罗百科 gentoo org> CommitDate: Thu Mar 2 08:53:57 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d46ef540 dev-libs/rocr-runtime: Fix version detection This breaks rocm_bandwidth_test and others downstream as they compare to an internal version string. This silently breaks if git is not installed, so fix it to always be correct. Closes: https://bugs.gentoo.org/894064 Signed-off-by: Patrick Lauer gentoo.org> .../{rocr-runtime-5.4.3.ebuild => rocr-runtime-5.4.3-r1.ebuild} | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-libs/rocr-runtime/rocr-runtime-5.4.3.ebuild b/dev-libs/rocr-runtime/rocr-runtime-5.4.3-r1.ebuild similarity index 88% rename from dev-libs/rocr-runtime/rocr-runtime-5.4.3.ebuild rename to dev-libs/rocr-runtime/rocr-runtime-5.4.3-r1.ebuild index f408d4213314..f6a8a5598f2a 100644 --- a/dev-libs/rocr-runtime/rocr-runtime-5.4.3.ebuild +++ b/dev-libs/rocr-runtime/rocr-runtime-5.4.3-r1.ebuild @@ -44,6 +44,11 @@ src_prepare() { # Gentoo installs "*.bc" to "/usr/lib" instead of a "[path]/bitcode" directory ... sed -e "s:-O2:--rocm-path=${EPREFIX}/usr/lib/ -O2:" -i image/blit_src/CMakeLists.txt || die + # internal version depends on git being present and random weird magic, otherwise fallback to incoherent default value + # fix default value to be more better + + sed -i -e "s:1.7.0:${PV}:" CMakeLists.txt || die + cmake_src_prepare }