mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 17:16:04 +00:00

Bolt makes use of add_llvm_library and as such ends up exporting its libraries from LLVMExports.cmake, which is not correct. Bolt doesn't have its own exports file, and I assume that there is no desire to have one either -- Bolt libraries are not intended to be consumed as a cmake module, right? As such, this PR adds a NO_EXPORT option to simplify exclude these libraries from the exports file.
See docs/CMake.html for instructions on how to build LLVM with CMake.