llvm-project
e7244d86 - [BOLT][CMake] Don't export bolt libraries in LLVMExports.cmake (#121936)

Commit
268 days ago
[BOLT][CMake] Don't export bolt libraries in LLVMExports.cmake (#121936) 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.
Author
Parents
Loading