Bug 976442 - Add a kill switch for sccache. r=bhearsum
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 28 Feb 2014 09:02:55 +0900
changeset 171122 3dfe2491e8ec7a9476b533fb0aecbcdcc8c6c904
parent 171121 ec85e0c7c0608971110eb31375dd3e1e094accbf
child 171123 826695253218f029cfdb3fd7f1927cfc6b616ef7
push id26315
push usercbook@mozilla.com
push dateFri, 28 Feb 2014 13:32:24 +0000
treeherdermozilla-central@5acf5aefe27a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbhearsum
bugs976442
milestone30.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 976442 - Add a kill switch for sccache. r=bhearsum
build/mozconfig.cache
--- a/build/mozconfig.cache
+++ b/build/mozconfig.cache
@@ -1,16 +1,16 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 # Setup for build cache
 
 bucket=
-if test -f "$topsrcdir/sccache/sccache.py"; then
+if test -z "$SCCACHE_DISABLE" -a -f "$topsrcdir/sccache/sccache.py"; then
     case `hostname` in
     try*spot*.use1.mozilla.com|try*ec2*.use1.mozilla.com)
         bucket=mozilla-releng-s3-cache-us-east-1-try
         ;;
     try*spot*.usw2.mozilla.com|try*ec2*.usw2.mozilla.com)
         bucket=mozilla-releng-s3-cache-us-west-2-try
         ;;
     esac