setup-ccache.sh 161 B

12345678910
  1. #! /bin/bash -ex
  2. test -d $1 # workspace must exist at this point...
  3. WORKSPACE=$( cd "$1" && pwd )
  4. export CCACHE_DIR=$WORKSPACE/ccache
  5. ccache -M 12G
  6. ccache -s