Michaël ZassoandAbdirahim Musse committed 2025-05-02 15:10:35 +02:00
1 parent cff3fa5f03
commit e9a75322eb
5 files changed
+81 -3

No files matched your search

+1 -1
View File
@@ -1332,7 +1332,7 @@
],
'conditions': [
[ 'node_shared_simdutf=="false"', {
'dependencies': [ 'deps/simdutf/simdutf.gyp:simdutf#host' ],
'dependencies': [ 'tools/v8_gypfiles/v8.gyp:simdutf#host' ],
}],
[ 'node_shared_libuv=="false"', {
'dependencies': [ 'deps/uv/uv.gyp:libuv#host' ],
+1 -1
View File
@@ -226,7 +226,7 @@
}],
[ 'node_shared_simdutf=="false"', {
'dependencies': [ 'deps/simdutf/simdutf.gyp:simdutf' ],
'dependencies': [ 'tools/v8_gypfiles/v8.gyp:simdutf' ],
}],
[ 'node_shared_brotli=="false"', {
+9
View File
@@ -87,6 +87,12 @@
}, {
'v8_enable_private_mapping_fork_optimization': 0,
}],
['OS in "aix os400"', {
'v8_enable_leaptiering': 0,
}, {
'v8_enable_leaptiering': 1,
}],
],
# Variables from BUILD.gn
@@ -483,6 +489,9 @@
['v8_enable_extensible_ro_snapshot==1', {
'defines': ['V8_ENABLE_EXTENSIBLE_RO_SNAPSHOT',],
}],
['v8_enable_leaptiering==1', {
'defines': ['V8_ENABLE_LEAPTIERING',],
}],
['v8_enable_precise_zone_stats==1', {
'defines': ['V8_ENABLE_PRECISE_ZONE_STATS',],
}],
+4 -1
View File
@@ -716,7 +716,10 @@
}],
# Temporary refs: https://github.com/nodejs/node/pull/23801
['v8_enable_handle_zapping==1', {
'defines': ['ENABLE_HANDLE_ZAPPING',],
'defines': [
'ENABLE_LOCAL_HANDLE_ZAPPING',
'ENABLE_GLOBAL_HANDLE_ZAPPING',
],
}],
],
+66
View File
@@ -1056,6 +1056,8 @@
'v8_zlib',
'v8_pch',
'fp16',
'highway',
'simdutf',
'abseil.gyp:abseil',
],
'includes': ['inspector.gypi'],
@@ -2260,5 +2262,69 @@
],
},
}, # fp16
{
'target_name': 'highway',
'type': 'static_library',
'toolsets': ['host', 'target'],
'variables': {
'HIGHWAY_ROOT': '../../deps/v8/third_party/highway',
},
'direct_dependent_settings': {
'include_dirs': [
'<(HIGHWAY_ROOT)/src',
],
'conditions': [
['v8_target_arch=="ia32"', {
'defines': ['HWY_BROKEN_TARGETS=(HWY_AVX2|HWY_AVX3)',],
}],
['v8_target_arch=="arm64"', {
'defines': ['HWY_BROKEN_TARGETS=HWY_ALL_SVE',],
}],
['v8_target_arch=="ppc64" or v8_target_arch=="s390x"', {
'defines': ['TOOLCHAIN_MISS_ASM_HWCAP_H',],
}],
['v8_target_arch=="s390x"', {
'defines': ['HWY_BROKEN_EMU128=0',],
}],
['OS == "aix"', {
'defines': ['HWY_BROKEN_EMU128=0',],
}],
['v8_target_arch=="arm" and arm_version==7', {
'defines': ['HWY_BROKEN_EMU128=0',],
}],
],
},
'include_dirs': [
'<(HIGHWAY_ROOT)/src',
],
'conditions': [
['v8_target_arch=="ia32"', {
'defines': ['HWY_BROKEN_TARGETS=(HWY_AVX2|HWY_AVX3)',],
}],
['v8_target_arch=="arm64"', {
'defines': ['HWY_BROKEN_TARGETS=HWY_ALL_SVE',],
}],
['v8_target_arch=="ppc64" or v8_target_arch=="s390x"', {
'defines': ['TOOLCHAIN_MISS_ASM_HWCAP_H',],
}],
],
'sources': [
'<!@pymod_do_main(GN-scraper "<(HIGHWAY_ROOT)/BUILD.gn" "source_set.\\"libhwy.*?sources = ")',
],
}, # highway
{
'target_name': 'simdutf',
'type': 'static_library',
'toolsets': ['host', 'target'],
'direct_dependent_settings': {
'include_dirs': [
'<(V8_ROOT)/third_party/simdutf',
],
},
'include_dirs': ['.'],
'sources': [
'<(V8_ROOT)/third_party/simdutf/simdutf.cpp',
],
}, # simdutf
],
}