[all-commits] [llvm/llvm-project] e7244d: [BOLT][CMake] Don't export bolt libraries in LLVME...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Wed Jan 8 00:41:30 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e7244d8659f1ee7b6dcf8fc90e33d81cda178f45
https://github.com/llvm/llvm-project/commit/e7244d8659f1ee7b6dcf8fc90e33d81cda178f45
Author: Nikita Popov <npopov at redhat.com>
Date: 2025-01-08 (Wed, 08 Jan 2025)
Changed paths:
M bolt/lib/Core/CMakeLists.txt
M bolt/lib/Passes/CMakeLists.txt
M bolt/lib/Profile/CMakeLists.txt
M bolt/lib/Rewrite/CMakeLists.txt
M bolt/lib/RuntimeLibs/CMakeLists.txt
M bolt/lib/Target/AArch64/CMakeLists.txt
M bolt/lib/Target/RISCV/CMakeLists.txt
M bolt/lib/Target/X86/CMakeLists.txt
M bolt/lib/Utils/CMakeLists.txt
M llvm/cmake/modules/AddLLVM.cmake
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list