Bug 1426003 - Add a build job for spidermonkey with JIT disabled. r?sfink draft
authorMike Hommey <mh+mozilla@glandium.org>
Sat, 16 Dec 2017 02:06:46 +0900
changeset 713216 353ddc1d2e0286bfcf42034a515a5be9582f648e
parent 713183 2d580aeac901ce5c61a4e5445b46906ce3cf33d8
child 744276 1eed779eb676a6dafeabe7cdf3e8e5bddef833af
push id93579
push userbmo:mh+mozilla@glandium.org
push dateTue, 19 Dec 2017 21:09:12 +0000
reviewerssfink
bugs1426003
milestone59.0a1
Bug 1426003 - Add a build job for spidermonkey with JIT disabled. r?sfink Building for some tier-3 platforms imply building without a JIT, and it happens quite regularly that this setup is broken by API changes in Spidermonkey. This adds a new job with JIT disabled, but skip tests for now because some fail or crash.
js/src/devtools/automation/variants/nojit
taskcluster/ci/config.yml
taskcluster/ci/spidermonkey/kind.yml
new file mode 100644
--- /dev/null
+++ b/js/src/devtools/automation/variants/nojit
@@ -0,0 +1,7 @@
+{
+    "configure-args": "--disable-ion --enable-warnings-as-errors",
+    "optimize": true,
+    "skip-tests": {
+        "all": ["jstests", "jittest", "jsapitests"]
+    }
+}
--- a/taskcluster/ci/config.yml
+++ b/taskcluster/ci/config.yml
@@ -147,16 +147,17 @@ index:
         - 'sm-arm-sim-linux32-debug'
         - 'sm-arm64-sim-linux64-debug'
         - 'sm-asan-linux64-opt'
         - 'sm-compacting-linux64-debug'
         - 'sm-compacting-win32-debug'
         - 'sm-fuzzing-linux64'
         - 'sm-mozjs-sys-linux64-debug'
         - 'sm-msan-linux64-opt'
+        - 'sm-nojit-linux64-opt'
         - 'sm-nonunified-linux64-debug'
         - 'sm-package-linux64-opt'
         - 'sm-plain-linux64-opt'
         - 'sm-plain-win32-opt'
         - 'sm-plain-linux64-debug'
         - 'sm-plain-win32-debug'
         - 'sm-rootanalysis-linux64-debug'
         - 'sm-rust-bindings-linux64-debug'
@@ -208,16 +209,17 @@ try:
         'android-api-16':
             - 'android-api-16-l10n'
         'linux':
             - 'linux-l10n'
             - 'sm-arm-sim-linux32'
         'linux64':
             - 'linux64-l10n'
             - 'sm-plain-linux64'
+            - 'sm-nojit-linux64'
             - 'sm-nonunified-linux64'
             - 'sm-arm-sim-linux32'
             - 'sm-arm64-sim-linux64'
             - 'sm-compacting-linux64'
             - 'sm-rootanalysis-linux64'
             - 'sm-package-linux64'
             - 'sm-tsan-linux64'
             - 'sm-asan-linux64'
--- a/taskcluster/ci/spidermonkey/kind.yml
+++ b/taskcluster/ci/spidermonkey/kind.yml
@@ -156,16 +156,31 @@ jobs:
         worker:
             max-run-time: 36000
             docker-image: {in-tree: desktop-build}
             env:
                 TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/linux64/jsshell.manifest"
         run:
             spidermonkey-variant: plain
 
+    sm-nojit-linux64/opt:
+        description: "Spidermonkey no JIT"
+        index:
+            job-name: sm-nojit-linux64-opt
+        treeherder:
+            symbol: SM-tc(nojit)
+            platform: linux64/opt
+        worker:
+            max-run-time: 3600
+            docker-image: {in-tree: desktop-build}
+            env:
+                TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/linux64/jsshell.manifest"
+        run:
+            spidermonkey-variant: nojit
+
     sm-plain-win32/opt:
         description: "Spidermonkey Plain"
         index:
             job-name: sm-plain-win32-opt
         treeherder:
             platform: windows2012-32/opt
             symbol: SM-tc(p)
         worker-type: aws-provisioner-v1/gecko-{level}-b-win2012