[PATCH] D101139: Create install targets for scan-build-py.

Yu Shan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 23 14:18:19 PDT 2021


aabbaabb added a comment.

In D101139#2713450 <https://reviews.llvm.org/D101139#2713450>, @phosek wrote:

> I don't think this is sufficient. First, we want to be explicit and always list individual files to install, we don't use patterns. Second, since libscanbuild is a library, it shouldn't be installed inside the `bin` directory. I think those should go either into `lib` or `share`. `libscanbuild/resources` should definitely go into `share` as is already the case for `scan-build`. Third, `libear` is a native component so that one needs to be compiled first.

libear is built dynamically at runtime from build_libear function in libear/__init__.py which would be called by libscanbuild/analyze.py. It is not built statically.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101139



More information about the cfe-commits mailing list