Skip to content

Commit

Permalink
deps,win: increase msvs_shard in gyp for V8
Browse files Browse the repository at this point in the history
Increase the number of shards to divide v8_base into. This increases
the number of calls to cl.exe but decreases the number of files
compiled each time.

Fixes: nodejs/v8#4
PR-URL: #12184
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
  • Loading branch information
joaocgreis authored and targos committed Jun 23, 2017
1 parent b61d737 commit 4c29673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/v8/src/v8.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -1922,7 +1922,7 @@
# When building Official, the .lib is too large and exceeds the 2G
# limit. This breaks it into multiple pieces to avoid the limit.
# See http://crbug.com/485155.
'msvs_shard': 4,
'msvs_shard': 10,
}],
['component=="shared_library"', {
'defines': [
Expand Down

0 comments on commit 4c29673

Please sign in to comment.