File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
- WAF =python tools/waf-light --jobs=1
1
+ JOBS? =1 # The number of parallel processes. Use 'JOBS=2 make' for more.
2
+ WAF=python tools/waf-light --jobs=$(JOBS )
2
3
3
4
all :
4
5
@$(WAF ) build
Original file line number Diff line number Diff line change @@ -235,9 +235,10 @@ def v8_cmd(bld, variant):
235
235
else :
236
236
mode = "debug"
237
237
238
- cmd_R = 'python "%s" -C "%s" -Y "%s" visibility=default mode=%s %s library=static snapshot=on'
238
+ cmd_R = 'python "%s" -j %d - C "%s" -Y "%s" visibility=default mode=%s %s library=static snapshot=on'
239
239
240
240
cmd = cmd_R % ( scons
241
+ , Options .options .jobs
241
242
, bld .srcnode .abspath (bld .env_of_name (variant ))
242
243
, v8dir_src
243
244
, mode
@@ -276,6 +277,7 @@ def build_v8(bld):
276
277
def build (bld ):
277
278
print "DEST_OS: " + bld .env ['DEST_OS' ]
278
279
print "DEST_CPU: " + bld .env ['DEST_CPU' ]
280
+ print "Parallel Jobs: " + str (Options .options .jobs )
279
281
280
282
if not bld .env ["USE_SYSTEM" ]:
281
283
bld .add_subdirs ('deps/libeio deps/libev deps/c-ares' )
You can’t perform that action at this time.
0 commit comments