Bug 1343713 - Avoid mozconfig failure when sccache is not there. r?ted
The build will fail during configure anyways in that case, not silently
fallback to compiling without it.
--- a/build/mozconfig.cache
+++ b/build/mozconfig.cache
@@ -103,20 +103,16 @@ fi
if test -z "$bucket"; then
case "$platform" in
win*) : ;;
*)
ac_add_options --with-ccache
esac
else
- if ! test -e $topsrcdir/sccache2/sccache${suffix}; then
- echo "sccache2 missing in the tooltool manifest" >&2
- exit 1
- fi
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
ac_add_options "--with-ccache=$topsrcdir/sccache2/sccache${suffix}"
export SCCACHE_VERBOSE_STATS=1