[llvm] [Offload] Add support for riscv64 to host plugin (PR #115773)

via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 23 08:20:03 PST 2024


joshua-arch1 wrote:

> Add the triple to
> 
> https://github.com/llvm/llvm-project/blob/0e3c791916a918cd2d7391ddb633fbe5faa00b86/clang/lib/Frontend/CompilerInvocation.cpp#L4228

Thank you. It works now. But for some cases, there are still some errors.
For example:
ld: /tmp/test_target_firstprivate-12cba4.o: in function `main':
test_target_firstprivate.c:(.text+0xf6): undefined reference to `__kmpc_fork_call'

Do we need to add extra support for riscv64 in kmp related codes?

https://github.com/llvm/llvm-project/pull/115773


More information about the llvm-commits mailing list