Bug 1456500: Disable PGO for Win64 aom to speed up builds. r=froydnj
authorDavid Major <dmajor@mozilla.com>
Tue, 24 Apr 2018 11:15:13 -0400
changeset 468916 f0033384e7aed7471056c37b410bcd3a09753d7d
parent 468915 62388dd742c7178f8cd35157dbc990e4679e1406
child 468917 0480e858c8eaae4aeef6561ecf7b83afaf4a02b6
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1456500
milestone61.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 1456500: Disable PGO for Win64 aom to speed up builds. r=froydnj
media/libaom/moz.build
--- a/media/libaom/moz.build
+++ b/media/libaom/moz.build
@@ -18,16 +18,19 @@ if CONFIG['CPU_ARCH'] == 'x86_64':
         if CONFIG['CC_TYPE'] == 'gcc':
             ASFLAGS += [ '-I%s/media/libaom/config/win/mingw64/' % TOPSRCDIR ]
             LOCAL_INCLUDES += [ '/media/libaom/config/win/mingw64/' ]
             EXPORTS.aom += [ 'config/win/mingw64/aom_config.h' ]
         else:
             ASFLAGS += [ '-I%s/media/libaom/config/win/x64/' % TOPSRCDIR ]
             LOCAL_INCLUDES += [ '/media/libaom/config/win/x64/' ]
             EXPORTS.aom += [ 'config/win/x64/aom_config.h' ]
+            # This code is not included in our PGO profile, and pointlessly
+            # PGO-optimizing it slows down our builds a lot.
+            NO_PGO = True
     elif CONFIG['OS_TARGET'] == 'Darwin':
         ASFLAGS += [ '-I%s/media/libaom/config/mac/x64/' % TOPSRCDIR ]
         LOCAL_INCLUDES += [ '/media/libaom/config/mac/x64/' ]
         EXPORTS.aom += [ 'config/mac/x64/aom_config.h' ]
     else: # Android, Linux, BSDs, etc.
         ASFLAGS += [ '-I%s/media/libaom/config/linux/x64/' % TOPSRCDIR ]
         LOCAL_INCLUDES += [ '/media/libaom/config/linux/x64/' ]
         EXPORTS.aom += [ 'config/linux/x64/aom_config.h' ]