最終更新:2017-06-19 (月) 15:09:48 (4d)  

ccache はてなブックマークを見る
Top / ccache

a fast C/C++ compiler cache

http://ccache.samba.org/

Features

  • Keeps statistics on hits/misses.
  • Automatic cache size management.
  • Can cache compilations that generate warnings.
  • Easy installation.
  • Low overhead.
  • Optionally uses hard links where possible to avoid copies.

設定

export CC='ccache gcc'
export CXX='ccache g++'

設定の確認

  • ccache -s

Android/ビルド

export USE_CCACHE=1
$ANDROID_ROOT/prebuilts/misc/linux-x86/ccache/ccache -M 50G

関連

参考