[PATCH] D30656: CMake: Don't install llvm-tblgen twice

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 25 09:44:20 PDT 2021


beanz added a comment.

Yes, clang-tablegen could link libLLVM. That said, in the common case of building LLVM & Clang together (which is generally the advised way to develop), depending on libLLVM adds a bunch of extra unneeded dependencies on clang-tablegen, and constrains the build tool’s ability to parallelize builds.

If you want to work on a patch that would cause the tool to link the dylib if the static archives are not available, that would be acceptable, however we should always prefer the static archives for tablegen tools if they are available in order to make the build more efficient.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D30656/new/

https://reviews.llvm.org/D30656



More information about the llvm-commits mailing list