gcc ccache 配置 mark

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
發佈了147 篇原創文章 · 獲贊 77 · 訪問量 63萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章