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,7 +1,6 @@
#!/usr/bin/env python3
import glob
import multiprocessing
import os
import pathlib
import subprocess
@@ -76,7 +75,7 @@ class Gem5Component(common.Component):
(
[
'scons',
'-j', str(multiprocessing.cpu_count()),
'-j', str(args.nproc),
'--ignore-style',
common.gem5_executable
] +