taskcluster/scripts/builder/setup-ccache.sh
author Dustin J. Mitchell <dustin@mozilla.com>
Sat, 04 Jun 2016 22:57:41 +0000
changeset 343192 d503738745c7637beb31d420d211e550d3c309b6
parent 260870 testing/taskcluster/scripts/builder/setup-ccache.sh@085f6e81d4c13b725b208cc1672e04bc8394b0a2
permissions -rw-r--r--
Bug 1275409: move legacy taskcluster-related scripts to taskcluster/scripts; r=wcosta MozReview-Commit-ID: 7ilVJkNAPvE

#! /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