aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2015-06-10 16:29:16 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2015-06-10 16:29:16 +0530
commit144005cafa376c9394eb20de30fdece077b5a178 (patch)
treebb6d6073147e4d65633b0479fd78cdaff1c3e810
parent1fea9ec34d42d23077f2ea5f9337285c52f6c2ef (diff)
Use common ccache for all buildsHEADmaster
Change-Id: Ie9296f0d72f34e3f953cb724f4b5039cafd1f3f9 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--build-scripts/build-android5
1 files changed, 3 insertions, 2 deletions
diff --git a/build-scripts/build-android b/build-scripts/build-android
index a0c17a7..b19a7a4 100644
--- a/build-scripts/build-android
+++ b/build-scripts/build-android
@@ -176,8 +176,9 @@ else
if ! is_on_ec2; then
export USE_CCACHE=1
- export CCACHE_DIR=$PWD/.ccache
- if [ ! -e ".ccache" ]; then
+ export CCACHE_DIR="/home/buildslave/srv/.ccache/"
+ export CCACHE_BASEDIR=$WORKSPACE
+ if [ ! -d $CCACHE_DIR ]; then
./prebuilts/misc/linux-x86/ccache/ccache -M 25G
fi
fi