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