From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1669067-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 F0B83158083
	for <garchives@archives.gentoo.org>; Mon,  9 Sep 2024 18:20:46 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 9C59DE2A11;
	Mon,  9 Sep 2024 18:20:44 +0000 (UTC)
Received: from smtp.gentoo.org (dev.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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8147FE2A11
	for <gentoo-commits@lists.gentoo.org>; 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 CED26342FB6
	for <gentoo-commits@lists.gentoo.org>; Mon,  9 Sep 2024 18:20:43 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F1C31F52
	for <gentoo-commits@lists.gentoo.org>; Mon,  9 Sep 2024 18:20:40 +0000 (UTC)
From: "Sam James" <sam@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, "Sam James" <sam@gentoo.org>
Message-ID: <1725905720.717c026f41e03df90881c5cca1c1c8390e71b8b5.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/rocWMMA/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sci-libs/rocWMMA/rocWMMA-6.1.1.ebuild
X-VCS-Directories: sci-libs/rocWMMA/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 717c026f41e03df90881c5cca1c1c8390e71b8b5
X-VCS-Branch: master
Date: Mon,  9 Sep 2024 18:20:40 +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: 81487f95-4e0e-4a38-8709-2d336053c8c6
X-Archives-Hash: a8a3e0d264abeb76ddb9eca905c0f064

commit:     717c026f41e03df90881c5cca1c1c8390e71b8b5
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sat Jul 20 17:43:30 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep  9 18:15:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=717c026f

sci-libs/rocWMMA: strip unsupported flags for potentially switched compiler

Bug: https://bugs.gentoo.org/936099
Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/rocWMMA/rocWMMA-6.1.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-libs/rocWMMA/rocWMMA-6.1.1.ebuild b/sci-libs/rocWMMA/rocWMMA-6.1.1.ebuild
index a3f8d61463b1..3122ab799976 100644
--- a/sci-libs/rocWMMA/rocWMMA-6.1.1.ebuild
+++ b/sci-libs/rocWMMA/rocWMMA-6.1.1.ebuild
@@ -44,6 +44,8 @@ PATCHES=(
 )
 
 src_configure() {
+	rocm_use_hipcc
+
 	# ld.lld bug https://github.com/llvm/llvm-project/issues/61101
 	filter-lto
 
@@ -55,7 +57,7 @@ src_configure() {
 		-DROCWMMA_BUILD_TESTS="$(usex test)"
 	)
 	use test && mycmakeargs+=(-DROCWMMA_USE_SYSTEM_GOOGLETEST=ON)
-	CC=hipcc CXX=hipcc cmake_src_configure
+	cmake_src_configure
 }
 
 src_test() {