ethereum / ethereum-buildbot

Ethereum Buildbot
https://build.ethdev.com/waterfall
MIT License
32 stars 36 forks source link

ccache compilation caching #24

Closed jorisbontje closed 9 years ago

jorisbontje commented 9 years ago

Install ccache with:

sudo apt-get install ccache

run cmake with -DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++

Check ccache statistics with ccache -s.

jorisbontje commented 9 years ago

After some testing on my Ubuntu VM ccache seems to be definitely worth doing. regular build time 15 min, incremental build without changes 1 min, clean build after previous ccache run 30s

caktux commented 9 years ago

Installed and enabled, last compile took around 8 minutes instead of 24 minutes on the previous run. Closing as it will also be applied to separate buildslaves.

caktux commented 9 years ago

Reopening for deb packaging builders, will FileDownload a more complete .pbuilderrc to enable this cleanly

caktux commented 9 years ago

closing, ccache can't be used with cowbuilder and has been set up for other Ubuntu and OSX builders