Port Bug 1005495 - Move sccache stats out of the build log. rs=port-by-build-system-peer
authorMark Banner <standard8@mozilla.com>
Wed, 07 May 2014 14:50:05 +0100
changeset 20081 65aef767086c152f65e45b4f5dec8c30c115dc50
parent 20080 6ac3f24133f3771ec7ff24b1a3eda6d0f1cefb12
child 20082 4e25b8ca7e533b337403dd1a5d9fd182ff6bb71d
push id1179
push userCallek@gmail.com
push dateMon, 21 Jul 2014 20:52:37 +0000
treeherdercomm-beta@84d8ef10a503 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersport-by-build-system-peer
bugs1005495
Port Bug 1005495 - Move sccache stats out of the build log. rs=port-by-build-system-peer
build/mozconfig.cache
--- a/build/mozconfig.cache
+++ b/build/mozconfig.cache
@@ -39,18 +39,19 @@ if test -z "$bucket"; then
 else
     mk_add_options "export SCCACHE_BUCKET=$bucket"
     case "$master" in
     *use1.mozilla.com*|*usw2.mozilla.com*)
         mk_add_options "export SCCACHE_NAMESERVER=169.254.169.253"
         ;;
     esac
     ac_add_options "--with-compiler-wrapper=python2.7 $topsrcdir/sccache/sccache.py"
-    mk_add_options MOZ_PREFLIGHT+=build/sccache.mk
-    mk_add_options MOZ_POSTFLIGHT+=build/sccache.mk
+    mk_add_options MOZ_PREFLIGHT_ALL+=build/sccache.mk
+    mk_add_options MOZ_POSTFLIGHT_ALL+=build/sccache.mk
+    UPLOAD_EXTRA_FILES="sccache.log.gz"
     case "$platform" in
     win*)
         # sccache supports a special flag to create depfiles.
         export _DEPEND_CFLAGS='-deps$(MDDEPDIR)/$(@F).pp'
         # Windows builds have a default wrapper that needs to be overridden
         mk_add_options "export CC_WRAPPER="
         mk_add_options "export CXX_WRAPPER="
         # For now, sccache doesn't support separate PDBs so force debug info to be