[clang] [llvm] [cmake] Add config for riscv(32|64)-unknown-elf (PR #176353)
Jessica Clarke via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 16 15:19:13 PST 2026
jrtc27 wrote:
> > > > the inclusion of LLVMExports relies on the target system supporting shared libraries
> > >
> > >
> > > But you're building the compiler for the host, not the target, so why does that matter?
> >
> >
> > Yes, the issue is that I get CMake errors when building compiler-rt (in its cmake:112, we call load_llvm_config()), because I set the SYSTEM_NAME while building it to Generic?
>
> Building for baremetal targets has been done for many years without such issue, why is this one special?
And load_llvm_config is gated on NOT LLVM_RUNTIMES_BUILD...
https://github.com/llvm/llvm-project/pull/176353
More information about the cfe-commits
mailing list