Bug 1426788 - Don't fall back to ccache when sccache is not enabled. r?build
ccache is not beneficial on taskcluster, don't try to use it when
sccache is not enabled for some reason.
--- 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