Hector Acosta has uploaded a new patch set (#3). ( 
http://gerrit.cloudera.org:8080/12996 )

Change subject: Enable reusing ccache directories.
......................................................................

Enable reusing ccache directories.

Commit 2d6d6ba119e2bf303f82dbc3ce07e8120e7e3914 enabled building with
ccache, but there was no mechanism to save and restore caches. This
commit adds two functions, download_ccache and upload_ccache, which
download and upload a tarred ccache directory.

The cache is uploaded to s3 at the end of a full build if
UPLOAD_CCACHE=1.

The 3 variables that affect the handling of reusing ccache are:
DOWNLOAD_CCACHE = Downloads ccache from s3.
USE_CCACHE = Modifies environment variables so that ccache is called.
UPLOAD_CCACHE = Uploads a ccache tarball to s3.

DOWNLOAD_CCACHE and USE_CCACHE now default to 1.

Change-Id: I482aa13e833d4680efe7cab98aad7f4fb998bfc0
---
M Makefile
M buildall.sh
M functions.sh
M in-docker.py
M init.sh
5 files changed, 79 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/native-toolchain 
refs/changes/96/12996/3
--
To view, visit http://gerrit.cloudera.org:8080/12996
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: native-toolchain
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I482aa13e833d4680efe7cab98aad7f4fb998bfc0
Gerrit-Change-Number: 12996
Gerrit-PatchSet: 3
Gerrit-Owner: Hector Acosta <hector.aco...@cloudera.com>
Gerrit-Reviewer: Laszlo Gaal <laszlo.g...@cloudera.com>
Gerrit-Reviewer: Thomas Marshall <tmarsh...@cloudera.com>

Reply via email to