commit 677f59ac097c07fd9466cd8b4df0dcef45faaf39
parent 6f05882cde8577753fe79dcd4c256938fe5ecaf5
Author: André Bargull <andre.bargull@gmail.com>
Date: Fri, 17 Oct 2025 11:25:43 +0000
Bug 1992993 - Part 11: Add try-configuration for mips64, loong64, and risvc64 simulator builds. r=spidermonkey-reviewers,taskgraph-reviewers,jcristau,iain
Set to tier 3 and disabled by default, but can be selected through "--full".
Differential Revision: https://phabricator.services.mozilla.com/D267799
Diffstat:
4 files changed, 114 insertions(+), 1 deletion(-)
diff --git a/js/src/devtools/automation/variants/loong64-sim b/js/src/devtools/automation/variants/loong64-sim
@@ -0,0 +1,9 @@
+{
+ "configure-args": "--enable-simulator=loong64",
+ "optimize": true,
+ "debug": true,
+ "extra-args": {
+ "jit-test": ["--jitflags=debug"]
+ },
+ "bits": 64
+}
diff --git a/js/src/devtools/automation/variants/mips64-sim b/js/src/devtools/automation/variants/mips64-sim
@@ -0,0 +1,14 @@
+{
+ "configure-args": "--enable-simulator=mips64",
+ "optimize": true,
+ "debug": true,
+ "env": {
+ "MIPS_UNALIGNED": "1"
+ },
+ "__comment1": "WPT disabled because JSPI isn't yet implemented",
+ "extra-args": {
+ "jstests": ["--wpt=disabled"],
+ "jit-test": ["--jitflags=debug"]
+ },
+ "bits": 64
+}
diff --git a/js/src/devtools/automation/variants/riscv64-sim b/js/src/devtools/automation/variants/riscv64-sim
@@ -0,0 +1,9 @@
+{
+ "configure-args": "--enable-simulator=riscv64",
+ "optimize": true,
+ "debug": true,
+ "extra-args": {
+ "jit-test": ["--jitflags=debug"]
+ },
+ "bits": 64
+}
diff --git a/taskcluster/kinds/spidermonkey/linux.yml b/taskcluster/kinds/spidermonkey/linux.yml
@@ -211,6 +211,87 @@ sm-arm64-sim-linux64/debug:
- linux64-pkgconf
- sysroot-x86_64-linux-gnu
+sm-mips64-sim-linux64/debug:
+ description: "Spidermonkey MIPS64 sim"
+ index:
+ job-name: sm-mips64-sim-linux64-debug
+ treeherder:
+ platform: linux64/debug
+ symbol: SM(mips64)
+ tier: 3
+ run:
+ spidermonkey-variant: mips64-sim
+ worker:
+ env:
+ MOZ_JS_UPLOAD_BINARIES_DEFAULT: "1"
+ # Disable by default but allow try pushes to explicitly request.
+ run-on-projects: []
+ fetches:
+ toolchain:
+ - linux64-clang
+ - linux64-rust
+ - linux64-cbindgen
+ - linux64-dump_syms
+ - linux64-breakpad-injector
+ - linux64-minidump-stackwalk
+ - linux64-llvm-symbolizer
+ - linux64-pkgconf
+ - sysroot-x86_64-linux-gnu
+
+sm-loong64-sim-linux64/debug:
+ description: "Spidermonkey LOONG64 sim"
+ index:
+ job-name: sm-loong64-sim-linux64-debug
+ treeherder:
+ platform: linux64/debug
+ symbol: SM(loong64)
+ tier: 3
+ run:
+ spidermonkey-variant: loong64-sim
+ worker:
+ env:
+ MOZ_JS_UPLOAD_BINARIES_DEFAULT: "1"
+ # Disable by default but allow try pushes to explicitly request.
+ run-on-projects: []
+ fetches:
+ toolchain:
+ - linux64-clang
+ - linux64-rust
+ - linux64-cbindgen
+ - linux64-dump_syms
+ - linux64-breakpad-injector
+ - linux64-minidump-stackwalk
+ - linux64-llvm-symbolizer
+ - linux64-pkgconf
+ - sysroot-x86_64-linux-gnu
+
+sm-riscv64-sim-linux64/debug:
+ description: "Spidermonkey RISCV64 sim"
+ index:
+ job-name: sm-riscv64-sim-linux64-debug
+ treeherder:
+ platform: linux64/debug
+ symbol: SM(riscv64)
+ tier: 3
+ run:
+ spidermonkey-variant: riscv64-sim
+ worker:
+ env:
+ MOZ_JS_UPLOAD_BINARIES_DEFAULT: "1"
+ # Disable by default but allow try pushes to explicitly request.
+ run-on-projects: []
+ fetches:
+ toolchain:
+ - linux64-clang
+ - linux64-rust
+ - linux64-cbindgen
+ - linux64-dump_syms
+ - linux64-breakpad-injector
+ - linux64-minidump-stackwalk
+ - linux64-llvm-symbolizer
+ - linux64-pkgconf
+ - sysroot-x86_64-linux-gnu
+
sm-asan-linux64/opt:
description: "Spidermonkey Address Sanitizer"
index:
@@ -353,7 +434,7 @@ sm-msan-linux64/opt:
MOZ_JS_UPLOAD_BINARIES_DEFAULT: "1"
run:
spidermonkey-variant: msan
- # Disable by default by allow try pushes to explicitly request.
+ # Disable by default but allow try pushes to explicitly request.
run-on-projects: []
fetches:
toolchain: