build: enable Maglev for riscv64 · nodejs/node@06c1fbc · GitHub
Skip to content

Commit 06c1fbc

Browse files
JamieMageerichardlau
authored andcommitted
build: enable Maglev for riscv64
V8's Maglev compiler has supported riscv64 since V8 14.0 (with full source files in deps/v8/src/maglev/riscv/), but Node.js never wired it up: - configure.py excluded riscv64 from maglev_enabled_architectures - tools/v8_gypfiles/v8.gyp lacked GN-scraper conditions for riscv64 Maglev sources in both the v8_internal_headers and v8_base_without_compiler blocks This adds riscv64 to both, following the same pattern used for s390x in #60863 and matching V8's own BUILD.gn which already lists riscv64 alongside arm, arm64, x64, s390x, and ppc64 as Maglev-enabled architectures. Refs: nodejs/build#4099 Signed-off-by: Jamie Magee <jamie.magee@gmail.com> PR-URL: #62605 Reviewed-By: René <contact.9a5d6388@renegade334.me.uk> Reviewed-By: Stewart X Addison <sxa@redhat.com> Reviewed-By: Richard Lau <richard.lau@ibm.com>
1 parent ef4915f commit 06c1fbc

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

configure.py

Lines changed: 1 addition & 1 deletion

tools/v8_gypfiles/v8.gyp

Lines changed: 10 additions & 0 deletions

0 commit comments

Comments
 (0)