mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 18:25:13 +08:00
tools: increase constexpr step limit for MSVC STL
When compiling with MSVC STL, the computation in V8 can exceed the default limit of constexpr steps. Increasing it by 4 times to give it more room. Signed-off-by: Joyee Cheung <joyeec9h3@gmail.com> PR-URL: https://github.com/nodejs/node/pull/65161 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Richard Lau <richard.lau@ibm.com>
This commit is contained in:
1 parent
ea86967557
commit
1eead123e2
1 file changed
+12
@@ -517,6 +517,18 @@
|
||||
},
|
||||
},
|
||||
}],
|
||||
['OS=="win" and clang==1', {
|
||||
'msvs_settings': {
|
||||
'VCCLCompilerTool': {
|
||||
'AdditionalOptions': [
|
||||
# When compiling with MSVC STL, V8 can exceed the default
|
||||
# limit of constexpr steps. Increasing it by 4 times to give
|
||||
# it more room.
|
||||
'/clang:-fconstexpr-steps=4194304',
|
||||
],
|
||||
},
|
||||
},
|
||||
}],
|
||||
['OS=="win" and v8_enable_prof==1', {
|
||||
'msvs_settings': {
|
||||
'VCLinkerTool': {
|
||||
|
||||
Reference in new issue
Block a user