[cfe-dev] How to install scan-build and scan-view?

Anna Zaks ganna at apple.com
Tue Jul 16 11:10:44 PDT 2013


On Jul 15, 2013, at 11:54 AM, Jeffrey Walton <noloader at gmail.com> wrote:

> Hi All,
> 
> According to http://clang-analyzer.llvm.org/installation:
> 
>    Currently these [scan-build and scan-view] are not installed
>    using make install, and are located in
>    $(SRCDIR)/tools/clang/tools/scan-build and
>    $(SRCDIR)/tools/clang/tools/scan-view respectively (where
>    $(SRCDIR) is the root LLVM source directory). These
>    locations are subject to change.
> 
> I deleted my build directories after `make install`, so I no longer
> have scan-build and scan-view.
> 
> Once I download and build the tools again, what needs to be copied
> where? In my case, I'm using prefix=/usr/local, so can I assume
> something needs to be copied into /usr/local/bin? Is that something
> limited to scan-build and scan-view? Or are there other dependencies?
> 

scan_build and scan_view folders contain perl scripts that drive the analyzes. Making sure that those scripts are in your PATH should be sufficient.

> Jeff
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130716/41d83c59/attachment.html>


More information about the cfe-dev mailing list