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

sci-libs/rocPRIM: 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/rocPRIM/rocPRIM-6.1.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-libs/rocPRIM/rocPRIM-6.1.1.ebuild 
b/sci-libs/rocPRIM/rocPRIM-6.1.1.ebuild
index cd85f27b6500..5829c9167987 100644
--- a/sci-libs/rocPRIM/rocPRIM-6.1.1.ebuild
+++ b/sci-libs/rocPRIM/rocPRIM-6.1.1.ebuild
@@ -42,6 +42,8 @@ src_prepare() {
 }
 
 src_configure() {
+       rocm_use_hipcc
+
        local mycmakeargs=(
                -DCMAKE_SKIP_RPATH=ON
                -DAMDGPU_TARGETS="$(get_amdgpu_flags)"
@@ -51,7 +53,7 @@ src_configure() {
                -DROCM_SYMLINK_LIBS=OFF
        )
 
-       CXX=hipcc cmake_src_configure
+       cmake_src_configure
 }
 
 src_test() {

Reply via email to