Package: mozjs115 / 115.18.0-1

js-arm-i386-no-simd.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Adrian Bunk <[email protected]>
Date: Mon, 19 Sep 2022 20:16:52  0300
Subject: Disable SIMD on 32-bit ARM and x86

SIMD (SSE/NEON) is not in the baseline of the i386/armel/armhf ports.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1786619
Bug-Debian: https://bugs.debian.org/1017961
---
 js/moz.configure | 2  -
 1 file changed, 1 insertion( ), 1 deletion(-)

diff --git a/js/moz.configure b/js/moz.configure
index 1d65ad4..6b3c5a1 100644
--- a/js/moz.configure
    b/js/moz.configure
@@ -609,7  609,7 @@ option(
 def rust_simd(value, target):
     # As of 2019-09-17, the simd-accel feature of encoding_rs has not
     # been properly set up outside aarch64, armv7, x86 and x86_64.
-    if target.cpu in ("aarch64", "arm", "x86", "x86_64") and value:
     if target.cpu in ("aarch64", "x86_64") and value:
         return True