diff options
author | Ross Burton <ross.burton@arm.com> | 2025-07-24 17:20:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-28 17:37:02 +0100 |
commit | 831a22fa5a60b09229d90361d2215b190fbc575c (patch) | |
tree | 1273fbfe292a220ae629ee79bf24b2f322c930d6 | |
parent | ddb29ce8314e171182da61325351efdb6b5d89f0 (diff) | |
download | poky-831a22fa5a60b09229d90361d2215b190fbc575c.tar.gz |
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 <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/ccache.bbclass | 3 |
1 files changed, 0 insertions, 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 ?= "" | |||
37 | # in different builds. | 37 | # in different builds. |
38 | export CCACHE_BASEDIR ?= "${TMPDIR}" | 38 | export CCACHE_BASEDIR ?= "${TMPDIR}" |
39 | 39 | ||
40 | # Used for sharing cache files after compiler is rebuilt | ||
41 | export CCACHE_COMPILERCHECK ?= "%compiler% -dumpspecs" | ||
42 | |||
43 | export CCACHE_CONFIGPATH ?= "${COREBASE}/meta/conf/ccache.conf" | 40 | export CCACHE_CONFIGPATH ?= "${COREBASE}/meta/conf/ccache.conf" |
44 | 41 | ||
45 | export CCACHE_DIR ?= "${CCACHE_TOP_DIR}/${MULTIMACH_TARGET_SYS}/${PN}" | 42 | export CCACHE_DIR ?= "${CCACHE_TOP_DIR}/${MULTIMACH_TARGET_SYS}/${PN}" |