summaryrefslogtreecommitdiffstats
path: root/taskcluster/scripts/builder/setup-ccache.sh
blob: 3c03b264021fe72be465401825db0e8467400294 (plain)
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