mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 13:09:21 +01:00
Revert "build: remove precompiled header and debug information for host builds"
This reverts commit 818284b687
.
Reverted commit is a no longer needed patch for ARM64 cross-compiling.
It was increasing cross-compile time drastically (~3 times longer).
PR-URL: https://github.com/nodejs/node/pull/45432
Refs: https://github.com/nodejs/node/pull/42538
Refs: https://github.com/nodejs/node/issues/42375
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Stewart X Addison <sxa@redhat.com>
This commit is contained in:
parent
770efeab6d
commit
1f63c953e6
@ -283,11 +283,7 @@
|
||||
'-std:c++17'
|
||||
],
|
||||
'BufferSecurityCheck': 'true',
|
||||
'target_conditions': [
|
||||
['_toolset=="target"', {
|
||||
'DebugInformationFormat': 1 # /Z7 embed info in .obj files
|
||||
}],
|
||||
],
|
||||
'DebugInformationFormat': 1, # /Z7 embed info in .obj files
|
||||
'ExceptionHandling': 0, # /EHsc
|
||||
'MultiProcessorCompilation': 'true',
|
||||
'StringPooling': 'true', # pool string literals
|
||||
|
@ -325,7 +325,7 @@
|
||||
'<(V8_ROOT)/src/builtins/builtins-intl-gen.cc',
|
||||
],
|
||||
}],
|
||||
['OS=="win" and _toolset=="target"', {
|
||||
['OS=="win"', {
|
||||
'msvs_precompiled_header': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.h',
|
||||
'msvs_precompiled_source': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.cc',
|
||||
'sources': [
|
||||
@ -683,7 +683,7 @@
|
||||
],
|
||||
'sources': ['<@(v8_compiler_sources)'],
|
||||
'conditions': [
|
||||
['OS=="win" and _toolset=="target"', {
|
||||
['OS=="win"', {
|
||||
'msvs_precompiled_header': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.h',
|
||||
'msvs_precompiled_source': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.cc',
|
||||
'sources': [
|
||||
@ -708,7 +708,7 @@
|
||||
],
|
||||
'sources': ['<@(v8_compiler_sources)'],
|
||||
'conditions': [
|
||||
['OS=="win" and _toolset=="target"', {
|
||||
['OS=="win"', {
|
||||
'msvs_precompiled_header': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.h',
|
||||
'msvs_precompiled_source': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.cc',
|
||||
'sources': [
|
||||
@ -908,15 +908,13 @@
|
||||
'<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"loong64\\".*?sources \\+= ")',
|
||||
],
|
||||
}],
|
||||
['OS=="win" and _toolset=="target"', {
|
||||
['OS=="win"', {
|
||||
'msvs_precompiled_header': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.h',
|
||||
'msvs_precompiled_source': '<(V8_ROOT)/../../tools/msvs/pch/v8_pch.cc',
|
||||
'sources': [
|
||||
'<(_msvs_precompiled_header)',
|
||||
'<(_msvs_precompiled_source)',
|
||||
]
|
||||
}],
|
||||
['OS=="win"', {
|
||||
],
|
||||
# This will prevent V8's .cc files conflicting with the inspector's
|
||||
# .cpp files in the same shard.
|
||||
'msvs_settings': {
|
||||
|
Loading…
Reference in New Issue
Block a user