Skip to content

Commit 47c2c03

Browse files
targosnodejs-github-bot
authored andcommitted
tools: update V8 gypfiles for 13.4
Refs: v8/v8@d629051 Refs: v8/v8@616c875 Refs: v8/v8@e3204d5
1 parent cf810b1 commit 47c2c03

File tree

2 files changed

+46
-1
lines changed

2 files changed

+46
-1
lines changed

tools/v8_gypfiles/toolchain.gypi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,10 @@
807807
}],
808808
# Temporary refs: https://github.com/nodejs/node/pull/23801
809809
['v8_enable_handle_zapping==1', {
810-
'defines': ['ENABLE_HANDLE_ZAPPING',],
810+
'defines': [
811+
'ENABLE_LOCAL_HANDLE_ZAPPING',
812+
'ENABLE_GLOBAL_HANDLE_ZAPPING',
813+
],
811814
}],
812815
],
813816

tools/v8_gypfiles/v8.gyp

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,6 +1004,7 @@
10041004
'v8_pch',
10051005
'v8_abseil',
10061006
'fp16',
1007+
'highway',
10071008
],
10081009
'includes': ['inspector.gypi'],
10091010
'direct_dependent_settings': {
@@ -2527,5 +2528,46 @@
25272528
],
25282529
},
25292530
}, # fp16
2531+
{
2532+
'target_name': 'highway',
2533+
'type': 'static_library',
2534+
'toolsets': ['host', 'target'],
2535+
'variables': {
2536+
'HIGHWAY_ROOT': '../../deps/v8/third_party/highway',
2537+
},
2538+
'direct_dependent_settings': {
2539+
'include_dirs': [
2540+
'<(HIGHWAY_ROOT)/src',
2541+
],
2542+
'conditions': [
2543+
['v8_target_arch=="ia32"', {
2544+
'defines': ['HWY_BROKEN_TARGETS=(HWY_AVX2|HWY_AVX3)',],
2545+
}],
2546+
['v8_target_arch=="arm64"', {
2547+
'defines': ['HWY_BROKEN_TARGETS=HWY_ALL_SVE',],
2548+
}],
2549+
['v8_target_arch=="ppc64" or v8_target_arch=="s390x"', {
2550+
'defines': ['TOOLCHAIN_MISS_ASM_HWCAP_H',],
2551+
}],
2552+
],
2553+
},
2554+
'include_dirs': [
2555+
'<(HIGHWAY_ROOT)/src',
2556+
],
2557+
'conditions': [
2558+
['v8_target_arch=="ia32"', {
2559+
'defines': ['HWY_BROKEN_TARGETS=(HWY_AVX2|HWY_AVX3)',],
2560+
}],
2561+
['v8_target_arch=="arm64"', {
2562+
'defines': ['HWY_BROKEN_TARGETS=HWY_ALL_SVE',],
2563+
}],
2564+
['v8_target_arch=="ppc64" or v8_target_arch=="s390x"', {
2565+
'defines': ['TOOLCHAIN_MISS_ASM_HWCAP_H',],
2566+
}],
2567+
],
2568+
'sources': [
2569+
'<!@pymod_do_main(GN-scraper "<(HIGHWAY_ROOT)/BUILD.gn" "source_set.\\"libhwy.*?sources = ")',
2570+
],
2571+
}, # highway
25302572
],
25312573
}

0 commit comments

Comments
 (0)