- Xcode
ccache(1)installed in /usr/local/bin
The maximum cache size is 5GB by default, but a WebKit Debug build can require 20GB or more:
ccache --max-size=20G
make ARGS="WK_USE_CCACHE=YES"build-webkit WK_USE_CCACHE=YES- Build in the Xcode UI by adding
WK_USE_CCACHE = YES;to Tools/ccache/ccache.xcconfig (FIXME: this dirties the working directory).
ccache -s