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 67467158041 for ; Fri, 8 Mar 2024 19:23:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12C0BE2A02; Fri, 8 Mar 2024 19:22:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E925FE2A02 for ; Fri, 8 Mar 2024 19:22:56 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0C8A033BEE8 for ; Fri, 8 Mar 2024 19:22:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2C87E14FB for ; Fri, 8 Mar 2024 19:22:52 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1709925724.d00e98ab2ba2745e6d36b756d7c87de47dccb796.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/hip/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/hip/hip-5.7.1-r2.ebuild X-VCS-Directories: dev-util/hip/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d00e98ab2ba2745e6d36b756d7c87de47dccb796 X-VCS-Branch: master Date: Fri, 8 Mar 2024 19:22:52 +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: 5f8e45d8-3a26-4499-8dd7-dbb51833cc81 X-Archives-Hash: b725918cf59cf838900e73530b368e7d commit: d00e98ab2ba2745e6d36b756d7c87de47dccb796 Author: Sv. Lockal gmail com> AuthorDate: Fri Jan 12 14:35:46 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Mar 8 19:22:04 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d00e98ab dev-util/hip: add rocm_version.h header (required by some caffe2/fbgemm/rocprofiler) Signed-off-by: Sv. Lockal gmail.com> Signed-off-by: Sam James gentoo.org> dev-util/hip/hip-5.7.1-r2.ebuild | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dev-util/hip/hip-5.7.1-r2.ebuild b/dev-util/hip/hip-5.7.1-r2.ebuild index a2ec876aaf25..f91ef2a7083c 100644 --- a/dev-util/hip/hip-5.7.1-r2.ebuild +++ b/dev-util/hip/hip-5.7.1-r2.ebuild @@ -142,6 +142,17 @@ src_test() { src_install() { cmake_src_install + # add version file that is required by some libraries + mkdir "${ED}"/usr/include/rocm-core || die + cat < "${ED}"/usr/include/rocm-core/rocm_version.h || die +#pragma once +#define ROCM_VERSION_MAJOR $(ver_cut 1) +#define ROCM_VERSION_MINOR $(ver_cut 2) +#define ROCM_VERSION_PATCH $(ver_cut 3) +#define ROCM_BUILD_INFO "$(ver_cut 1-3).0-9999-unknown" +EOF + dosym -r /usr/include/rocm-core/rocm_version.h /usr/include/rocm_version.h + rm "${ED}/usr/include/hip/hcc_detail" || die # files already installed by hipcc, which is a build dep