diff options
author | Nico Huber <nico.h@gmx.de> | 2023-07-16 16:25:23 +0200 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-07-23 22:39:53 +0000 |
commit | b37c51d3b6150f93764d8ae6f40012fbbed24045 (patch) | |
tree | c39322606521752d69b8d05b204d448bba029e52 /util/genbuild_h | |
parent | baf82808aef4b27720c0dda0821a7075bce599ce (diff) |
toolchain.inc: Set CCACHE_COMPILERCHECK=mtime
From ccache(1):
mtime
Hash the compiler’s mtime and size, which is fast. This is the default.
Hashing the compiler binary's content would only be necessary when we
expect different binaries of the same size with the same path (e.g.
during a compiler bootstrap) and wrong modification timestamps (might
happen when checking an older version out of a (package) repository).
Neither should be the case during our builds. And even if everything
fails at once, chances are additionally low that a wrong cache hit
would cause a problem.
tl;dr we're building and testing firmware, not toolchains.
Change-Id: I264a72c628559384fcc2060d777c52af927d5e14
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76561
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'util/genbuild_h')
0 files changed, 0 insertions, 0 deletions