commit:     a9928b64eece2848421012645ffc101aade998fe
Author:     Sv. Lockal <lockalsash <AT> gmail <DOT> com>
AuthorDate: Sat Jul 20 16:34:59 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Sep  9 18:15:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9928b64

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

Also set compiler to hipcc (clang fails when libc++ is enabled instead of 
libstdc++)

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/hipFFT/hipFFT-6.1.1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sci-libs/hipFFT/hipFFT-6.1.1.ebuild 
b/sci-libs/hipFFT/hipFFT-6.1.1.ebuild
index d9700529cd24..8cc68e63e149 100644
--- a/sci-libs/hipFFT/hipFFT-6.1.1.ebuild
+++ b/sci-libs/hipFFT/hipFFT-6.1.1.ebuild
@@ -25,6 +25,10 @@ RDEPEND="dev-util/hip
 DEPEND="${RDEPEND}"
 
 src_configure() {
+       # Note: hipcc is enforced; clang fails when libc++ is enabled
+       # with an error similar to https://github.com/boostorg/config/issues/392
+       rocm_use_hipcc
+
        local mycmakeargs=(
                -DROCM_SYMLINK_LIBS=OFF
                -DBUILD_CLIENTS_TESTS=OFF

Reply via email to