[Buildroot] [PATCH] qt5: use ccache for building host code
thomas.petazzoni at bootlin.com
Sat Nov 3 13:49:17 UTC 2018
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 ?
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
More information about the buildroot