build: add configuration flag to enable Maglev · nodejs/node@12605e8 · GitHub
Skip to content

Commit 12605e8

Browse files
kvakilRafaelGSS
authored andcommitted
build: add configuration flag to enable Maglev
This adds a configuration flag to enable V8's Maglev compiler. Unfortunately compilation fails unless you have clang-14+ or gcc-13+, but I sent a patch for that upstream. Other than that, it builds and all tests pass locally on my x86-64 Linux machine. The gn scraper regexes were broken preventing the compilation from linking. Fix them. As a drive-by, also add additional conditionals for compilation on 32-bit arm. Refs: #50690 PR-URL: #50692 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent c3eee59 commit 12605e8

2 files changed

Lines changed: 19 additions & 2 deletions

File tree

configure.py

Lines changed: 7 additions & 0 deletions

tools/v8_gypfiles/v8.gyp

Lines changed: 12 additions & 2 deletions

0 commit comments

Comments
 (0)