Reverts one breaking change introduced in
https://reviews.llvm.org/D88846.
Details
Details
- Reviewers
serge-sans-paille mehdi_amini - Commits
- rGdcd9be43e5c7: [mlir] Fix shared libs build
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
No worries!
Did you try this patch with LLVM_LINK_LLVM_DYLIB=ON ?
Both with and without this change the following config is fine:
cmake -DLLVM_TARGETS_TO_BUILD=host -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_BUILD_TYPE=Release -GNinja -DLLVM_ENABLE_PROJECTS="mlir" ../../llvm;
However, this configuration _does_ require this change:
cmake -DLLVM_TARGETS_TO_BUILD=host -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -GNinja -DLLVM_ENABLE_PROJECTS="mlir" ../../llvm;