CCACHE_NOCOMPRESS needs to be set in order to use hard links

This commit is contained in:
Joel Rosdahl 2010-01-05 20:19:24 +01:00
parent 909a0ebde7
commit f98719bc90
2 changed files with 5 additions and 1 deletions

View File

@ -193,7 +193,8 @@ CCACHE_HARDLINK then ccache will attempt to use hard links from the
cache directory when creating the compiler output rather than using a
file copy. Using hard links is faster, but can confuse programs like
'make' that rely on modification times. Hard links are never made for
compressed cache files.
compressed cache files. This means that you typically also should set
the CCACHE_NOCOMPRESS variable if you want to use hard links.
dit(bf(CCACHE_RECACHE)) This forces ccache to not use any cached
results, even if it finds them. New results are still cached, but

View File

@ -293,8 +293,11 @@ hardlink_suite() {
CCACHE_COMPILE="$CCACHE $COMPILER"
CCACHE_HARDLINK=1
export CCACHE_HARDLINK
CCACHE_NOCOMPRESS=1
export CCACHE_NOCOMPRESS
base_tests
unset CCACHE_HARDLINK
unset CCACHE_NOCOMPRESS
}
cpp2_suite() {