cross compile riscv64 with LLVM toolchain and sysroot#1116
Conversation
Use the same LLVM toolchain that is used for native x86-64 builds to cross compile for riscv64 using a sysroot.
|
This differs in the approach in #1101 in that the LLVM toolchain is coming from the "custom compiled toolchain" (the |
|
Only the |
|
I was ran some benchmarks on a riscv64 machine using the latest release of pbs and a build with this change. Using the average of three runs of fastmark using the LTO build of 3.14.5: Latest release, 20260510 (GCC 8.3.0) : 778 This is a ~9% increase in performance. Seems worthwhile to adopt this approach to the other platforms which are cross compiled. |
Use the same LLVM toolchain that is used for native x86-64 builds to cross compile for riscv64 using a sysroot.