[cfe-dev] Clang checker

Daniel Marjamäki Daniel.Marjamaki at evidente.se
Mon Feb 24 00:40:35 PST 2014


Hello!

> I understand that an incremental build is to just build the essential part changed (in my case, to add a new checker).

yes. in theory you only need to compile your checker and link clang. however the "make" will probably perform some more stuff.

> So is it enough to run make from within the StaticAnalyzer directory?

Use:

cd <LLVM_BUILD_DIR>
make

Best regards,
Daniel Marjamäki

..................................................................................................................
Daniel Marjamäki Senior Engineer
Evidente ES East AB  Warfvinges väg 34  SE-112 51 Stockholm  Sweden

Mobile:                 +46 (0)709 12 42 62
E-mail:                 Daniel.Marjamaki<mailto:Daniel.Marjamaki at evidente.se>@evidente.se<mailto:Daniel.Marjamaki at evidente.se>

www.evidente.se
________________________________
Från: Aitor San Juan [aitor.sj at opendeusto.es]
Skickat: den 24 februari 2014 09:09
Till: Daniel Marjamäki
Cc: cfe-dev at cs.uiuc.edu
Ämne: Re: Clang checker

Thanks a lot Daniel.

I understand that an incremental build is to just build the essential part changed (in my case, to add a new checker). So is it enough to run make from within the StaticAnalyzer directory? That is, I go to <MY_LLVM_SOURCE_DIR>/tools/clang/lib/StaticAnalyzer, and from there do I simply run make? Is this what you meant by an incremental build?

Thanks.


2014-02-24 8:30 GMT+01:00 Daniel Marjamäki <Daniel.Marjamaki at evidente.se<mailto:Daniel.Marjamaki at evidente.se>>:
Hello!

> do I have to build again Clang, the Static Analyzer, or is it enough to compile the checker? I'm a bit lost about this. It's not clear to me.

It is not enough the compile the checker.

You do not need to rebuild everything.

Just perform a "make" / incremental build. This will take a little while even when you have not changed any interfaces etc but it should run much faster than a full rebuild.

Best regards,
Daniel Marjamäki

..................................................................................................................
Daniel Marjamäki Senior Engineer
Evidente ES East AB  Warfvinges väg 34  SE-112 51 Stockholm  Sweden

Mobile:                 +46 (0)709 12 42 62<tel:%2B46%20%280%29709%2012%2042%2062>
E-mail:                 Daniel.Marjamaki at evidente.se<mailto:Daniel.Marjamaki at evidente.se>

www.evidente.se<http://www.evidente.se>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20140224/83eb61ef/attachment.html>


More information about the cfe-dev mailing list