[lldb-dev] interesting note on build times: configure/make vs. cmake/ninja

Todd Fiala tfiala at google.com
Thu Feb 6 11:40:49 PST 2014


Thanks, Richard.

I spent some time trying that out this morning.  For Ubuntu, I was able to
do this with 'sudo apt-get install binutils-gold'.  This improved my lldb
build time with cmake/ninja by between 6 and 7%.  Thanks for the suggestion!

-Todd


On Wed, Feb 5, 2014 at 7:48 PM, Richard Mitton <richard at codersnotes.com>wrote:

>  I found with building llvm/lldb, switching your default linker to gold
> instead of ld helps too.
>
>
> Todd Fiala wrote:
>
> Hi all,
>
>  Just thought I'd pass along that I've just did a build time comparison
> between our standard lldb build setup: configure + (g)make (i.e. configure
> && make -j32), vs. cmake + ninja (i.e. cmake -GNinja && ninja).  On an HP
> z620 with 32 virtual procs on ssd, it takes me just under 10 minutes to
> build lldb with configure/make.  The same machine with ninja + cmake takes
> 4.25 minutes.  *huge* speedup.
>
>  We'll be moving in that direction on our dev setups based on that
> change.  If for some reason we hit any hiccups with that, I'll be sure to
> tell you about them.
>  --
>    Todd Fiala |  Software Engineer |  tfiala at google.com |  650-943-3180
>
> ------------------------------
>
> _______________________________________________
> lldb-dev mailing listlldb-dev at cs.uiuc.eduhttp://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
>


-- 
Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140206/67bfd9da/attachment.html>


More information about the lldb-dev mailing list