Bug 1426788 - Don't fall back to ccache when sccache is not enabled. r=gps
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 22 Dec 2017 10:08:40 +0900
changeset 397343 ba9e7b6956191e8212e5eb3dcbdc3301db10a27f
parent 397342 d49a1de5d569881d555e1b75250747aa58bd7ad2
child 397344 aa4a36acacdc7965e7e9ffda0d4b3cbd907fec6f
push id33132
push usershindli@mozilla.com
push dateFri, 22 Dec 2017 21:41:05 +0000
treeherdermozilla-central@aa4a36acacdc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1426788
milestone59.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 1426788 - Don't fall back to ccache when sccache is not enabled. r=gps ccache is not beneficial on taskcluster, don't try to use it when sccache is not enabled for some reason.
build/mozconfig.cache
--- a/build/mozconfig.cache
+++ b/build/mozconfig.cache
@@ -99,23 +99,17 @@ if test -z "$platform"; then
     case "${SYSTEMROOT}" in
     *Windows)
         platform=windows
         suffix=.exe
         ;;
     esac
 fi
 
-if test -z "$bucket"; then
-    case "$platform" in
-    win*) : ;;
-    *)
-        export CCACHE=ccache
-    esac
-else
+if test -n "$bucket"; then
     mk_add_options "export SCCACHE_BUCKET=$bucket"
     case "$master" in
     *us[ew][12].mozilla.com*|*euc1.mozilla.com*)
         mk_add_options "export SCCACHE_NAMESERVER=169.254.169.253"
         ;;
     esac
     export CCACHE="$topsrcdir/sccache2/sccache${suffix}"
     export SCCACHE_VERBOSE_STATS=1