dev-util/Tensile: strip unsupported flags for potentially switched compiler

Bug: https://bugs.gentoo.org/936099
Signed-off-by: Sv. Lockal <lockalsash@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sv. Lockal
2024-07-20 16:57:39 +00:00
committed by Sam James
parent 04ceaab8ef
commit 1dc80dbbc4

View File

@@ -88,6 +88,8 @@ src_prepare() {
}
src_configure() {
rocm_use_hipcc
distutils-r1_src_configure
if use client; then
local mycmakeargs=(
@@ -97,7 +99,7 @@ src_configure() {
-DTensile_LIBRARY_FORMAT=msgpack
-DAMDGPU_TARGETS="$(get_amdgpu_flags)"
)
CXX=hipcc cmake_src_configure
cmake_src_configure
fi
}