[all-commits] [llvm/llvm-project] 62c789: [CMake] Fix some breakages when using ninja multi ...
ur4t via All-commits
all-commits at lists.llvm.org
Sat Feb 22 09:53:14 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 62c78919c678915936fcc08212b02db23738dd4d
https://github.com/llvm/llvm-project/commit/62c78919c678915936fcc08212b02db23738dd4d
Author: ur4t <ur4t at protonmail.com>
Date: 2025-02-22 (Sat, 22 Feb 2025)
Changed paths:
M clang/lib/Headers/CMakeLists.txt
M llvm/tools/llvm-shlib/CMakeLists.txt
Log Message:
-----------
[CMake] Fix some breakages when using ninja multi config (#65451)
When using multi-config generator to build `libLLVM.so` like `cmake -G
'Ninja Multi-Config' -Sllvm -B/tmp/out/ninja-multi
-DCMAKE_CONFIGURATION_TYPES='Debug;Release' -DLLVM_LINK_LLVM_DYLIB=on
-DLLVM_TARGETS_TO_BUILD=host && cmake --build /tmp/out/ninja-multi
--config Debug`, `lld` complains `error: cannot find version script
/tmp/out/ninja-multi/Debug/lib/tools/llvm-shlib/simple_version_script.map`.
This patch adds multi-config compatibility when configuring
`simple_version_script.map`.
Fixes #63800.
When using multi-config generator, clang's headers is not copied to
proper directories, which is fixed as well.
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