[make] do not install clang archive libraries

Summary: They are not needed to run clang and our clang plugin.

Reviewed By: mbouaziz

Differential Revision: D8076205

fbshipit-source-id: 450e816
master
Jules Villard 7 years ago committed by Facebook Github Bot
parent 9b18d87427
commit fe7e016fdc

@ -492,8 +492,8 @@ endif
ifeq ($(BUILD_C_ANALYZERS),yes)
$(INSTALL_DATA) -C 'facebook-clang-plugins/libtooling/build/FacebookClangPlugin.dylib' \
'$(DESTDIR)$(libdir)/infer/facebook-clang-plugins/libtooling/build/FacebookClangPlugin.dylib'
find facebook-clang-plugins/clang/install -not -type d -print0 | xargs -0 -I \{\} \
$(INSTALL_PROGRAM) -C \{\} '$(DESTDIR)$(libdir)'/infer/\{\}
find facebook-clang-plugins/clang/install -not -type d -not -name '*.a' -print0 \
| xargs -0 -I \{\} $(INSTALL_PROGRAM) -C \{\} '$(DESTDIR)$(libdir)'/infer/\{\}
find infer/lib/clang_wrappers/* -print0 | xargs -0 -I \{\} \
$(INSTALL_PROGRAM) -C \{\} '$(DESTDIR)$(libdir)'/infer/\{\}
# only for files that point to infer

Loading…
Cancel
Save