Setting CLANG_LINK_CLANG_DYLIB=ON causes clang tools to link against
libclang_shared.so instead of the individual component libraries.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 33575 Build 33574: arc lint + arc unit
Event Timeline
Comment Actions
One comment inline. Otherwise LGTM.
clang/CMakeLists.txt | ||
---|---|---|
327 | We should generate a config error if LLVM_LINK_LLVM_DYLIB=Off and CLANG_LINK_CLANG_DYLIB=On, because that will cause some odd errors. |
Comment Actions
CLANG_LINK_CLANG_DYLIB=ON does not seem to work with LLVM_INSTALL_TOOLCHAIN_ONLY=ON. I filed a bug report: https://bugs.llvm.org/show_bug.cgi?id=42575
We should generate a config error if LLVM_LINK_LLVM_DYLIB=Off and CLANG_LINK_CLANG_DYLIB=On, because that will cause some odd errors.