[Buildroot] [PATCH] qt5: use ccache for building host code
ps.report at gmx.net
Sun Nov 4 21:08:51 UTC 2018
On Sat, 3 Nov 2018 14:49:17 +0100, Thomas Petazzoni <thomas.petazzoni at bootlin.com> wrote:
> Hello Peter,
> On Sat, 20 Oct 2018 15:25:35 +0200, Thomas Petazzoni wrote:
> > qt5 currently doesn't use HOSTCC/HOSTCXX, so it doesn't use ccache
> > when building all its host code (especially qmake). This means that
> > even with ccache enabled and a hot cache, it still takes a long time
> > to build qt5base.
> > Before this patch, building qt5base takes:
> > - 446 seconds with a cold ccache
> > - 185 seconds with a hot ccache
> > This is because the ccache is not used for host code.
> > After this patch, building qt5base takes:
> > - 450 seconds with a cold ccache
> > - 15 seconds with a hot ccache
> > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> Any comment on this patch ?
Sorry, not an regular ccache user (maybe an mistake ;-) ), so I did not
examine this patch yet, nice speedup, some questions at he patch reply...
More information about the buildroot