[PATCH] D145258: [bazel] Don't alwayslink clang-tidy libraries
Aaron Siddhartha Mondal via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 3 15:02:52 PST 2023
aaronmondal added a comment.
> There is no always-link in cmake as far as I know, so we should not need any in Bazel either in the LLVM project hopefully.
It seems that only mlir actually needs this and there are custom build files for that.
The only actual usage of the `cc_plugin_library` which explicitly exposes alwayslink is for the `libclang` target, but its left to default (`False`) there. I think it should be fine to remove alwayslink from the llvm and clang build files entirely.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145258/new/
https://reviews.llvm.org/D145258
More information about the llvm-commits
mailing list