ccache 是一个用于编译加速的工具,其原理就是将已经编译过的二进制文件缓存起来,以便后续编译直接使用。
下载最新的ccache
https://ccache.dev/download.html
wget http://xxx
./configure
make
make install
max_size = 5G
sloppiness = file_stat_matches,file_stat_matches_ctime,locale,system_headers
compiler_check = none
stats = true
hash_dir = false
read_only = false # after cached, set to true