From 831a22fa5a60b09229d90361d2215b190fbc575c Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 24 Jul 2025 17:20:54 +0100 Subject: [PATCH] ccache: drop CCACHE_COMPILERCHECK This variable controls how ccache determines if the cache is valid or not for a given compiler. By default, ccache looks at the mtime of the compiler binary. This should be sufficient for our purposes as the mtime is preserved from sstate and will only be changed on rebuilds if the binary is actually different. (From OE-Core rev: 27aec0bab6fcb19c5d5be30763f4038a46922e8f) Signed-off-by: Ross Burton Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- meta/classes/ccache.bbclass | 3 --- 1 file changed, 3 deletions(-) diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass index 7c42e66bdf..7daaa7e3aa 100644 --- a/meta/classes/ccache.bbclass +++ b/meta/classes/ccache.bbclass @@ -37,9 +37,6 @@ CCACHE_NATIVE_RECIPES_ALLOWED ?= "" # in different builds. export CCACHE_BASEDIR ?= "${TMPDIR}" -# Used for sharing cache files after compiler is rebuilt -export CCACHE_COMPILERCHECK ?= "%compiler% -dumpspecs" - export CCACHE_CONFIGPATH ?= "${COREBASE}/meta/conf/ccache.conf" export CCACHE_DIR ?= "${CCACHE_TOP_DIR}/${MULTIMACH_TARGET_SYS}/${PN}"