Skip to content

Commit

Permalink
sci-libs/rocRAND: strip unsupported flags for potentially switched co…
Browse files Browse the repository at this point in the history
…mpiler

Bug: https://bugs.gentoo.org/936099
Signed-off-by: Sv. Lockal <[email protected]>
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
AngryLoki authored and thesamesam committed Sep 9, 2024
1 parent ae00b35 commit 62bb5fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sci-libs/rocRAND/rocRAND-6.1.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ BDEPEND="dev-build/rocm-cmake
>=dev-build/cmake-3.22"

src_configure() {
rocm_use_hipcc

local mycmakeargs=(
-DCMAKE_SKIP_RPATH=ON
-DAMDGPU_TARGETS="$(get_amdgpu_flags)"
Expand All @@ -42,7 +44,7 @@ src_configure() {
-DBUILD_BENCHMARK=$(usex benchmark ON OFF)
)

CXX=hipcc cmake_src_configure
cmake_src_configure
}

src_test() {
Expand Down

0 comments on commit 62bb5fb

Please sign in to comment.