Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3dbcc31

Browse files
author
Shi Pujin
committedJan 8, 2024
tools: fix loong64 build
1 parent 1a5acd0 commit 3dbcc31

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
 

‎tools/v8_gypfiles/v8.gyp

+12
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,18 @@
10241024
'sources': [
10251025
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_enable_wasm_gdb_remote_debugging.*?v8_current_cpu == \\"loong64\\".*?sources \\+= ")',
10261026
],
1027+
'conditions': [
1028+
['v8_enable_webassembly==1', {
1029+
'conditions': [
1030+
['((_toolset=="host" and host_arch=="loong64" or _toolset=="target" and target_arch=="loong64") and (OS=="linux" or OS=="mac" or OS=="ios")) or ((_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64") and (OS=="linux" or OS=="mac"))', {
1031+
'sources': [
1032+
'<(V8_ROOT)/src/trap-handler/handler-inside-posix.cc',
1033+
'<(V8_ROOT)/src/trap-handler/handler-outside-posix.cc',
1034+
],
1035+
}],
1036+
],
1037+
}],
1038+
],
10271039
}],
10281040
['OS=="win"', {
10291041
# This will prevent V8's .cc files conflicting with the inspector's

0 commit comments

Comments
 (0)
Please sign in to comment.