common: factor -j --nproc to all builds

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-10-23 00:00:02 +00:00
parent 4b99e522dd
commit 3980974e91
10 changed files with 17 additions and 33 deletions

View File

@@ -1,6 +1,5 @@
#!/usr/bin/env python3
import multiprocessing
import os
import shutil
@@ -57,7 +56,7 @@ class LinuxComponent(common.Component):
(
[
'make',
'-j', str(multiprocessing.cpu_count()),
'-j', str(args.nproc),
] +
common_make_args +
[
@@ -70,7 +69,7 @@ class LinuxComponent(common.Component):
(
[
'make',
'-j', str(multiprocessing.cpu_count()),
'-j', str(args.nproc),
] +
common_make_args +
verbose +