GeezerVison is showing github.com — tools: update V8 gypfiles for 13.4 · nodejs/node@fb3d5ea
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: node.gyp +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1332 | 1332 | ], | 1333 | 1333 | 'conditions': [ | 1334 | 1334 | [ 'node_shared_simdutf=="false"', { | 1335 | | - 'dependencies': [ 'deps/simdutf/simdutf.gyp:simdutf#host' ], | | 1335 | + 'dependencies': [ 'tools/v8_gypfiles/v8.gyp:simdutf#host' ], | 1336 | 1336 | }], | 1337 | 1337 | [ 'node_shared_libuv=="false"', { | 1338 | 1338 | 'dependencies': [ 'deps/uv/uv.gyp:libuv#host' ], | |
Collapse file Copy file name to clipboardExpand all lines: node.gypi +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 226 | 226 | }], | 227 | 227 |
| 228 | 228 | [ 'node_shared_simdutf=="false"', { | 229 | | - 'dependencies': [ 'deps/simdutf/simdutf.gyp:simdutf' ], | | 229 | + 'dependencies': [ 'tools/v8_gypfiles/v8.gyp:simdutf' ], | 230 | 230 | }], | 231 | 231 |
| 232 | 232 | [ 'node_shared_brotli=="false"', { | |
Collapse file Copy file name to clipboardExpand all lines: tools/v8_gypfiles/features.gypi +9Lines changed: 9 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 87 | 87 | }, { | 88 | 88 | 'v8_enable_private_mapping_fork_optimization': 0, | 89 | 89 | }], | | 90 | + | | 91 | + ['OS in "aix os400"', { | | 92 | + 'v8_enable_leaptiering': 0, | | 93 | + }, { | | 94 | + 'v8_enable_leaptiering': 1, | | 95 | + }], | 90 | 96 | ], | 91 | 97 |
| 92 | 98 | # Variables from BUILD.gn | | 483 | 489 | ['v8_enable_extensible_ro_snapshot==1', { | 484 | 490 | 'defines': ['V8_ENABLE_EXTENSIBLE_RO_SNAPSHOT',], | 485 | 491 | }], | | 492 | + ['v8_enable_leaptiering==1', { | | 493 | + 'defines': ['V8_ENABLE_LEAPTIERING',], | | 494 | + }], | 486 | 495 | ['v8_enable_precise_zone_stats==1', { | 487 | 496 | 'defines': ['V8_ENABLE_PRECISE_ZONE_STATS',], | 488 | 497 | }], | |
Collapse file Copy file name to clipboardExpand all lines: tools/v8_gypfiles/toolchain.gypi +4-1Lines changed: 4 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 716 | 716 | }], | 717 | 717 | # Temporary refs: https://github.com/nodejs/node/pull/23801 | 718 | 718 | ['v8_enable_handle_zapping==1', { | 719 | | - 'defines': ['ENABLE_HANDLE_ZAPPING',], | | 719 | + 'defines': [ | | 720 | + 'ENABLE_LOCAL_HANDLE_ZAPPING', | | 721 | + 'ENABLE_GLOBAL_HANDLE_ZAPPING', | | 722 | + ], | 720 | 723 | }], | 721 | 724 | ], | 722 | 725 |
| |
Collapse file Copy file name to clipboardExpand all lines: tools/v8_gypfiles/v8.gyp +66Lines changed: 66 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1056 | 1056 | 'v8_zlib', | 1057 | 1057 | 'v8_pch', | 1058 | 1058 | 'fp16', | | 1059 | + 'highway', | | 1060 | + 'simdutf', | 1059 | 1061 | 'abseil.gyp:abseil', | 1060 | 1062 | ], | 1061 | 1063 | 'includes': ['inspector.gypi'], | | 2260 | 2262 | ], | 2261 | 2263 | }, | 2262 | 2264 | }, # fp16 | | 2265 | + { | | 2266 | + 'target_name': 'highway', | | 2267 | + 'type': 'static_library', | | 2268 | + 'toolsets': ['host', 'target'], | | 2269 | + 'variables': { | | 2270 | + 'HIGHWAY_ROOT': '../../deps/v8/third_party/highway', | | 2271 | + }, | | 2272 | + 'direct_dependent_settings': { | | 2273 | + 'include_dirs': [ | | 2274 | + '<(HIGHWAY_ROOT)/src', | | 2275 | + ], | | 2276 | + 'conditions': [ | | 2277 | + ['v8_target_arch=="ia32"', { | | 2278 | + 'defines': ['HWY_BROKEN_TARGETS=(HWY_AVX2|HWY_AVX3)',], | | 2279 | + }], | | 2280 | + ['v8_target_arch=="arm64"', { | | 2281 | + 'defines': ['HWY_BROKEN_TARGETS=HWY_ALL_SVE',], | | 2282 | + }], | | 2283 | + ['v8_target_arch=="ppc64" or v8_target_arch=="s390x"', { | | 2284 | + 'defines': ['TOOLCHAIN_MISS_ASM_HWCAP_H',], | | 2285 | + }], | | 2286 | + ['v8_target_arch=="s390x"', { | | 2287 | + 'defines': ['HWY_BROKEN_EMU128=0',], | | 2288 | + }], | | 2289 | + ['OS == "aix"', { | | 2290 | + 'defines': ['HWY_BROKEN_EMU128=0',], | | 2291 | + }], | | 2292 | + ['v8_target_arch=="arm" and arm_version==7', { | | 2293 | + 'defines': ['HWY_BROKEN_EMU128=0',], | | 2294 | + }], | | 2295 | + ], | | 2296 | + }, | | 2297 | + 'include_dirs': [ | | 2298 | + '<(HIGHWAY_ROOT)/src', | | 2299 | + ], | | 2300 | + 'conditions': [ | | 2301 | + ['v8_target_arch=="ia32"', { | | 2302 | + 'defines': ['HWY_BROKEN_TARGETS=(HWY_AVX2|HWY_AVX3)',], | | 2303 | + }], | | 2304 | + ['v8_target_arch=="arm64"', { | | 2305 | + 'defines': ['HWY_BROKEN_TARGETS=HWY_ALL_SVE',], | | 2306 | + }], | | 2307 | + ['v8_target_arch=="ppc64" or v8_target_arch=="s390x"', { | | 2308 | + 'defines': ['TOOLCHAIN_MISS_ASM_HWCAP_H',], | | 2309 | + }], | | 2310 | + ], | | 2311 | + 'sources': [ | | 2312 | + '<!@pymod_do_main(GN-scraper "<(HIGHWAY_ROOT)/BUILD.gn" "source_set.\\"libhwy.*?sources = ")', | | 2313 | + ], | | 2314 | + }, # highway | | 2315 | + { | | 2316 | + 'target_name': 'simdutf', | | 2317 | + 'type': 'static_library', | | 2318 | + 'toolsets': ['host', 'target'], | | 2319 | + 'direct_dependent_settings': { | | 2320 | + 'include_dirs': [ | | 2321 | + '<(V8_ROOT)/third_party/simdutf', | | 2322 | + ], | | 2323 | + }, | | 2324 | + 'include_dirs': ['.'], | | 2325 | + 'sources': [ | | 2326 | + '<(V8_ROOT)/third_party/simdutf/simdutf.cpp', | | 2327 | + ], | | 2328 | + }, # simdutf | 2263 | 2329 | ], | 2264 | 2330 | } |
|