ccache
ccache copied to clipboard
Make it possible to avoid the timestamp part of files with CCACHE_DEBUG=1
use article about debugging: https://interrupt.memfault.com/blog/ccache-debugging
do steps:
-
CCACHE_DEBUG=1 CCACHE_DEBUGDIR/path/to/ccache-debug-1 make
- clear build
-
CCACHE_DEBUG=1 CCACHE_DEBUGDIR/path/to/ccache-debug-2 make
-
find . \( -name '*.ccache-input-[cdp]' -o -name '*.ccache-log' \) -exec rm {} \;
-
meld ccache-debug-1 ccache-debug-2
the issue:
because each file has name pattern:
Possible solution:
add way to customize or disable
ccache version 4.8
gcc 11 ubuntu 22.04
This is not a bug so I'll convert the issue to a feature request.
This could be done by extending the idea in https://github.com/ccache/ccache/issues/1361#issuecomment-1879631795 with something like debug = timestamps:false
.