Bug 1293837 - Followup to fix 32-bit PGO builds r=me
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 11 Aug 2016 14:40:59 -0700
changeset 350340 926b40f1fb3adbf3e5f73546d5167ce44c894c8f
parent 350339 0aea46757bba10aac413524e50979808189a6d15
child 350341 04e73415695b95b3b27e77515c4d0f6a221eebaa
push id6570
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:26:13 +0000
treeherdermozilla-beta@f455459b2ae5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1293837
milestone51.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 1293837 - Followup to fix 32-bit PGO builds r=me
build/pgo/profileserver.py
--- a/build/pgo/profileserver.py
+++ b/build/pgo/profileserver.py
@@ -52,17 +52,17 @@ if __name__ == '__main__':
                              addons=[os.path.join(build.topsrcdir, 'tools', 'quitter', 'quitter@mozilla.org.xpi')],
                              locations=locations)
 
     env = os.environ.copy()
     env["MOZ_CRASHREPORTER_NO_REPORT"] = "1"
     env["XPCOM_DEBUG_BREAK"] = "warn"
 
     # For VC12+, make sure we can find the right bitness of pgort1x0.dll
-    if not substs['HAVE_64BIT_BUILD']:
+    if not substs.get('HAVE_64BIT_BUILD'):
         for e in ('VS140COMNTOOLS', 'VS120COMNTOOLS'):
             if e not in env:
                 continue
 
             vcdir = os.path.abspath(os.path.join(env[e], '../../VC/bin'))
             if os.path.exists(vcdir):
                 env['PATH'] = '%s;%s' % (vcdir, env['PATH'])
                 break