-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown target triple error #50
Comments
If you are not a member of @ucb-bar, this is not the LLVM you should be using. The correct LLVM for external use is the RISCV target in the upstream llvm.org repositories. |
In that case this repo should perhaps be moved to https://github.com/ucb-bar/llvm, and be replaced by a staging tree for upstream LLVM |
I sent @colinschmidt an email asking for it to be moved to https://github.com/ucb-bar/hwacha-llvm since that seems to be its main function. I don't think there is a staging repository in the sense you mean (https://github.com/lowRISC/riscv-llvm tracks the upstream port but serves a different purpose, @asb et al have been following an upstream first approach). |
OK, thanks, I will try the llvm.org repo. |
Hi llvm maintainers,
I can build the llvm on 64-bit ubuntu, but I got error when I compile the *.c code using:
clang -target riscv64 -mriscv=RV64IAMFD -S hello.c -o hello.S
The error is:
error: unknown target triple 'riscv64', please use -triple or -arch
Did I miss something? I am on the commit 8aec2ae.
Thanks.
The text was updated successfully, but these errors were encountered: