User:Jens3/ccache
From Gentoo Wiki
Jump to:navigation
Jump to:search
I use ccache with
cat /var/cache/ccache/ccache.conf
max_size = 20G umask = 002 compiler_check = %compiler% -v cache_dir_levels = 3 compression = true compression_level = 19
ccache uses zstd for compression. The higher compression level may slow down the compilation process. A compression_level of 1-3 can be a wise decision for faster compilation. ccache supports the recompression of the cache with --recompress <LEVEL>. see ccache -h, ccache and facebook.github.io/zstd/