sci-libs/rocThrust: 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-09-09 19:15:19 +01:00
committed by Sam James
parent b52cb8aabf
commit a8ebfeb02e
+3 -1
View File
@@ -32,6 +32,8 @@ BDEPEND=">=dev-build/cmake-3.22"
PATCHES=( "${FILESDIR}/${PN}-4.0-operator_new.patch" )
src_configure() {
rocm_use_hipcc
local mycmakeargs=(
-DCMAKE_SKIP_RPATH=ON
-DAMDGPU_TARGETS="$(get_amdgpu_flags)"
@@ -40,7 +42,7 @@ src_configure() {
-DBUILD_FILE_REORG_BACKWARD_COMPATIBILITY=OFF
)
CXX=hipcc cmake_src_configure
cmake_src_configure
}
src_test() {