[clang] [llvm] [cmake] Add config for riscv(32|64)-unknown-elf (PR #176353)

Ramkumar Ramachandra via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 16 15:00:02 PST 2026


================
@@ -899,6 +899,9 @@ else()
   option(LLVM_BUILD_LLVM_C_DYLIB "Build libllvm-c re-export library (Darwin only)" OFF)
 endif()
 
+option(LLVM_CONFIG_NO_EXPORTS "Suppress exports in CMake package" OFF)
----------------
artagnon wrote:

As the PR description says, we wouldn't be able to use BaremetalRISCV.cmake without this option, as CMake errors out on add_library SHARED and MODULE in LLVMExports and LLVMBuildTreeOnlyExports?

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


More information about the cfe-commits mailing list