From cad92ecca8841450939e22e0da265507fec1bb9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Wed, 14 Dec 2022 17:26:35 +0200 Subject: Append per-board ccache statistics in log MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Starting with ccache 4.4 it is possible to collect statistics about cache miss/hit rates in a separate file. Add the info of the build at end of created make.log file or on stdout. Change-Id: I1bab712712f4d6379ec6733fdc55b234e3845da7 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/75087 Reviewed-by: Angel Pons Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- toolchain.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'toolchain.inc') diff --git a/toolchain.inc b/toolchain.inc index 47c5fe9b8511..3165586d78c8 100644 --- a/toolchain.inc +++ b/toolchain.inc @@ -10,6 +10,7 @@ endif export CCACHE_COMPILERCHECK=content export CCACHE_BASEDIR=$(top) +export CCACHE_STATSLOG=$(obj)/ccache.stats $(foreach arch,$(ARCH_SUPPORTED), \ $(eval CC_$(arch):=$(CCACHE) $(CC_$(arch)))) -- cgit v1.2.3