]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
ccache: drop CCACHE_COMPILERCHECK
authorRoss Burton <ross.burton@arm.com>
Thu, 24 Jul 2025 16:20:54 +0000 (17:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 28 Jul 2025 16:16:10 +0000 (17:16 +0100)
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.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/ccache.bbclass

index 7c42e66bdf4edcb5351bd137da8086405973c770..7daaa7e3aa246d2654bbc4638f2b52f0b6cc02bb 100644 (file)
@@ -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}"