[PATCH] D68448: [clang-tools-extra] [cmake] Link against libclang-cpp whenever possible

Sylvestre Ledru via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 20 06:24:00 PDT 2019


sylvestre.ledru added a comment.

> More dynamic, less static isn't always a good thing. It saves disk space at the expense of performance. The option that controls this is `CLANG_LINK_CLANG_DYLIB`, which is mentioned in the clang 9.0 release notes.

Sure :)
For example, for a full build of llvm-toolchain, all the packages size drop from 510M to 278M


Repository:
  rL LLVM

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

https://reviews.llvm.org/D68448





More information about the llvm-commits mailing list