[PATCH] D116537: [llvm][cmake] never link llvm-config against llvm dylib
sterni via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 4 06:11:54 PST 2022
sterni added a comment.
In D116537#3219487 <https://reviews.llvm.org/D116537#3219487>, @mstorsjo wrote:
> Ok, thanks. Don’t you have the same issue with the tblgen tools then too?
If I read `llvm/cmake/modules/TableGen.cmake` correctly, `add_tablegen` builds the tablegen tools with `DISABLE_LLVM_LINK_LLVM_DYLIB`.
Not sure if there are any issues in practice, since we don't use the `NATIVE` `llvm-tblgen` for NixOS, since we can just reuse the tool from a different package (built for the builder's platform) which is not an option for `llvm-config` since the tool needs to produced the same build as the library it is supposed to describe.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116537/new/
https://reviews.llvm.org/D116537
More information about the llvm-commits
mailing list