tree: f1c8a5c7b93a6da0877c82fb157c366a8e82a59b [path history] [tgz]
  1. README.md
  2. ccache-clang
  3. ccache-clang++
  4. ccache-wrapper
  5. ccache.xcconfig
Tools/ccache/README.md

Prerequisites

  • Xcode
  • ccache(1) installed in /usr/local/bin

Configuring ccache

The maximum cache size is 5GB by default, but a WebKit Debug build can require 20GB or more:

  • ccache --max-size=20G

Building with ccache

  • 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).

Viewing cache statistics

  • ccache -s