[Buildroot] [PATCH] qt5: use ccache for building host code
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri Nov 30 09:00:14 UTC 2018
Hello,
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>
> ---
> package/qt5/qt5base/qt5base.mk | 8 ++++++++
> 1 file changed, 8 insertions(+)
Applied to next.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list