Perhaps you need a faster computer(s). Are you building on Windows?
With icecream on Linux I can do a full clobber build in ~5 minutes.

-Jeff

On Tue, Mar 7, 2017 at 1:59 PM,  <zbranie...@mozilla.com> wrote:
> I'm on Linux (Arch), with ccache, and I work on mozilla-central, rebasing my 
> bookmarks on top of central every couple days.
>
> And every couple days the recompilation takes 50-65 minutes.
>
> Here's my mozconfig:
> ▶ cat mozconfig
> mk_add_options MOZ_MAKE_FLAGS="-j4"
> mk_add_options AUTOCLOBBER=1
> ac_add_options --with-ccache=/usr/bin/ccache
> ac_add_options --enable-optimize="-g -Og"
> ac_add_options --enable-debug-symbols
> ac_add_options --enable-debug
>
> Here's my ccache:
> ▶ ccache -s
> cache directory                     /home/zbraniecki/.ccache
> primary config                      /home/zbraniecki/.ccache/ccache.conf
> secondary config      (readonly)    /etc/ccache.conf
> cache hit (direct)                 23811
> cache hit (preprocessed)            3449
> cache miss                         25352
> cache hit rate                     51.81 %
> called for link                     2081
> called for preprocessing             495
> compile failed                       388
> preprocessor error                   546
> bad compiler arguments                 8
> autoconf compile/link               1242
> no input file                        169
> cleanups performed                    42
> files in cache                     36965
> cache size                          20.0 GB
> max cache size                      21.5 GB
>
> And all I do is pull -u central, and `./mach build`.
>
> Today I updated from Sunday, it's two days of changes, and my recompilation 
> is taking 60 minutes already.
>
> I'd like to hope that there's some bug in my configuration rather than the 
> nature of things.
>
> Would appreciate any leads,
> zb.
> _______________________________________________
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to