Forcefully disable RVV code in highway to let lang/node build on riscv64

Bump REVISION just in case, I strongly doubt this built with clang 19.

ok volker@ (maintainer)
This commit is contained in:
jca
2026-06-08 07:12:39 +00:00
parent 47e702df42
commit 39cf3fbbd5
2 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ DIST_TUPLE = github qbit node-pledge 1.1.3 \
DISTNAME = node-${NODE_VERSION}
PKGNAME = ${DISTNAME:S/v//g}
EPOCH = 0
REVISION = 1
REVISION = 2
CATEGORIES = lang devel
@@ -0,0 +1,14 @@
Forcefully disable RVV support for now.
Index: deps/v8/third_party/highway/src/hwy/detect_compiler_arch.h
--- deps/v8/third_party/highway/src/hwy/detect_compiler_arch.h.orig
+++ deps/v8/third_party/highway/src/hwy/detect_compiler_arch.h
@@ -266,7 +266,7 @@
#define HWY_ARCH_WASM 0
#endif
-#ifdef __riscv
+#if 0
#define HWY_ARCH_RISCV 1
#else
#define HWY_ARCH_RISCV 0