Bug 1527777 - Apply change to Windows jobs too r=jmaher
authorSteve Fink <sfink@mozilla.com>
Wed, 27 Feb 2019 10:41:24 +0000
changeset 461540 87929b2bb5d11001b651d04677dbde671655bb5a
parent 461539 d158405da51437dd36d5ce3e946fc1cc6f54ed38
child 461541 e1cdaf345c39c7e7d3498d0f88f3156a7b2bb1bd
push id35625
push usercsabou@mozilla.com
push dateThu, 28 Feb 2019 10:55:23 +0000
treeherdermozilla-central@fd53d5e80bca [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjmaher
bugs1527777
milestone67.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 1527777 - Apply change to Windows jobs too r=jmaher Differential Revision: https://phabricator.services.mozilla.com/D21299
taskcluster/taskgraph/transforms/job/spidermonkey.py
--- a/taskcluster/taskgraph/transforms/job/spidermonkey.py
+++ b/taskcluster/taskgraph/transforms/job/spidermonkey.py
@@ -101,16 +101,18 @@ def generic_worker_spidermonkey(config, 
         'SPIDERMONKEY_VARIANT': run['spidermonkey-variant'],
         'MOZ_BUILD_DATE': config.params['moz_build_date'],
         'MOZ_SCM_LEVEL': config.params['level'],
         'SCCACHE_DISABLE': "1",
         'WORK': ".",  # Override the defaults in build scripts
         'SRCDIR': "./src",  # with values suiteable for windows generic worker
         'UPLOAD_DIR': "./public/build"
     })
+    if 'spidermonkey-platform' in run:
+        env['SPIDERMONKEY_PLATFORM'] = run['spidermonkey-platform']
 
     script = "build-sm.sh"
     if run['using'] == 'spidermonkey-package':
         script = "build-sm-package.sh"
         # Don't allow untested configurations yet
         raise Exception("spidermonkey-package is not a supported configuration")
     elif run['using'] == 'spidermonkey-mozjs-crate':
         script = "build-sm-mozjs-crate.sh"