summaryrefslogtreecommitdiffstats
path: root/debian/patches/disable-simd.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 20:56:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 20:56:20 +0000
commit868522aa377a4519adb0b9f402586ab7a41b86ba (patch)
tree44e805e154a3ace9bd8dbac73843e80d296b7814 /debian/patches/disable-simd.patch
parentAdding upstream version 5.28.2+dfsg1+~cs23.11.12.3. (diff)
downloadnode-undici-868522aa377a4519adb0b9f402586ab7a41b86ba.tar.xz
node-undici-868522aa377a4519adb0b9f402586ab7a41b86ba.zip
Adding debian version 5.28.2+dfsg1+~cs23.11.12.3-6.debian/5.28.2+dfsg1+_cs23.11.12.3-6debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/disable-simd.patch')
-rw-r--r--debian/patches/disable-simd.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/patches/disable-simd.patch b/debian/patches/disable-simd.patch
new file mode 100644
index 0000000..ea90314
--- /dev/null
+++ b/debian/patches/disable-simd.patch
@@ -0,0 +1,20 @@
+Description: disable SIMD build
+Author: Yadd <yadd@debian.org>
+Forwarded: not-needed
+Last-Update: 2022-07-09
+
+--- a/build/wasm.js
++++ b/build/wasm.js
+@@ -74,6 +74,7 @@
+ `module.exports = '${base64Wasm}'\n`
+ )
+
++/*
+ // Build wasm simd binary
+ execSync(`${CLANG} \
+ -nodefaultlibs \
+@@ -104,3 +105,4 @@
+ join(WASM_OUT, 'llhttp_simd-wasm.js'),
+ `module.exports = '${base64WasmSimd}'\n`
+ )
++*/