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