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 <refack@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
joaocgreis authored and targos committed Apr 26, 2017
1 parent 79e440d commit 3b26d4a
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 @@ -1802,7 +1802,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 3b26d4a

Please sign in to comment.