Skip to content

Commit

Permalink
dev-libs/rccl: strip unsupported flags for potentially switched compiler
Browse files Browse the repository at this point in the history
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 a9928b6 commit 04ceaab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev-libs/rccl/rccl-6.1.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ src_prepare() {
}

src_configure() {
rocm_use_hipcc

# https://github.com/llvm/llvm-project/issues/71711 - fix issue of clang
append-ldflags -Wl,-z,noexecstack

Expand All @@ -59,7 +61,7 @@ src_configure() {
-Wno-dev
)

CXX=hipcc cmake_src_configure
cmake_src_configure
}

src_test() {
Expand Down

0 comments on commit 04ceaab

Please sign in to comment.