mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user