Skip to content

Commit

Permalink
addpatch: rocfft 6.0.2-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Xeonacid committed Sep 17, 2024
1 parent b16bdd2 commit 5928163
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions rocfft/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git PKGBUILD PKGBUILD
index 426ca93..7acc0e1 100644
--- PKGBUILD
+++ PKGBUILD
@@ -29,7 +29,9 @@
-D CMAKE_BUILD_TYPE=None
-D CMAKE_CXX_COMPILER=/opt/rocm/bin/hipcc
-D CMAKE_CXX_FLAGS="${CXXFLAGS} -fcf-protection=none"
- -D CMAKE_INSTALL_PREFIX=/opt/rocm
+ -D CMAKE_INSTALL_PREFIX=/opt/rocm \
+ -D CMAKE_EXE_LINKER_FLAGS=-fuse-ld=bfd \
+ -D CMAKE_SHARED_LINKER_FLAGS=-fuse-ld=bfd
)
cmake "${cmake_args[@]}"
cmake --build build

0 comments on commit 5928163

Please sign in to comment.