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 62D27158083 for ; Mon, 9 Sep 2024 18:20:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE41FE2A15; Mon, 9 Sep 2024 18:20:44 +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 D41CEE2A15 for ; Mon, 9 Sep 2024 18:20:44 +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 E71CB343022 for ; Mon, 9 Sep 2024 18:20:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 83EDC1F54 for ; Mon, 9 Sep 2024 18:20:40 +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: <1725905721.316fc2c3ca792965b9a0389bd22c24392adb5949.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/hipify-clang/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/hipify-clang/hipify-clang-6.1.1.ebuild X-VCS-Directories: dev-util/hipify-clang/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 316fc2c3ca792965b9a0389bd22c24392adb5949 X-VCS-Branch: master Date: Mon, 9 Sep 2024 18:20:40 +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: b4efb405-1fd6-425a-94a0-973b716b1d78 X-Archives-Hash: 3071a52aa86faf0348698967825e4e86 commit: 316fc2c3ca792965b9a0389bd22c24392adb5949 Author: Sv. Lockal gmail com> AuthorDate: Sun Aug 4 10:02:33 2024 +0000 Commit: Sam James gentoo org> CommitDate: Mon Sep 9 18:15:21 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=316fc2c3 dev-util/hipify-clang: strip incompatible flag due to compiler switch Closes: https://bugs.gentoo.org/928906 Signed-off-by: Sv. Lockal gmail.com> Closes: https://github.com/gentoo/gentoo/pull/37639 Signed-off-by: Sam James gentoo.org> dev-util/hipify-clang/hipify-clang-6.1.1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-util/hipify-clang/hipify-clang-6.1.1.ebuild b/dev-util/hipify-clang/hipify-clang-6.1.1.ebuild index ca0eeb20cc2a..d50b6a0df0f5 100644 --- a/dev-util/hipify-clang/hipify-clang-6.1.1.ebuild +++ b/dev-util/hipify-clang/hipify-clang-6.1.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 LLVM_COMPAT=( 18 ) -inherit cmake llvm-r1 +inherit cmake flag-o-matic llvm-r1 DESCRIPTION="A set of tools to translate CUDA source code into portable HIP C++" HOMEPAGE="https://github.com/ROCm/HIPIFY" @@ -36,6 +36,10 @@ src_prepare() { } src_configure() { + # 928906: CMakeLists.txt ignores CC/CXX, switches compiler to clang + # and fails if non-compatible CFLAGS/CXXFLAGS are used + strip-unsupported-flags + local mycmakeargs=( -DCMAKE_PREFIX_PATH="$(get_llvm_prefix)/$(get_libdir)/cmake/llvm" )