mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
common: factor -j --nproc to all builds
This commit is contained in:
@@ -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
|
||||
] +
|
||||
|
||||
Reference in New Issue
Block a user