Skip to content

Commit 548008a

Browse files
targosrvagg
authored andcommitted
deps: update v8.gyp and run Torque
Synchronize source files list with upstream's BUILD.gn. Teach v8.gyp to build and run torque, V8's DSL for generating builtins. On Windows, the torque binary needs to be compiled and linked with exception semantics and assume V8 is embedded. Fixes: nodejs/node-v8#57 Co-Authored-By: Ben Noordhuis <info@bnoordhuis.nl> Co-Authored-By: Refael Ackermann <refack@gmail.com> Backport-PR-URL: #21668 PR-URL: #21079 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yang Guo <yangguo@chromium.org>
1 parent 1e7a8c3 commit 548008a

File tree

3 files changed

+488
-32
lines changed

3 files changed

+488
-32
lines changed

common.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
# Reset this number to 0 on major V8 upgrades.
3131
# Increment by one for each non-official patch applied to deps/v8.
32-
'v8_embedder_string': '-node.0',
32+
'v8_embedder_string': '-node.1',
3333

3434
# Enable disassembler for `--print-code` v8 options
3535
'v8_enable_disassembler': 1,

deps/v8/gypfiles/toolchain.gypi

+1-1
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@
11271127
'ldflags': [ '-Wl,-bmaxdata:0x60000000/dsa' ],
11281128
}],
11291129
[ 'v8_target_arch=="ppc64"', {
1130-
'cflags': [ '-maix64' ],
1130+
'cflags': [ '-maix64', '-fdollars-in-identifiers' ],
11311131
'ldflags': [ '-maix64 -Wl,-bbigtoc' ],
11321132
}],
11331133
],

0 commit comments

Comments
 (0)