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 platform
import shutil
@@ -42,7 +41,7 @@ has the OpenBLAS libraries and headers installed.
(
[
'make',
'-j', str(multiprocessing.cpu_count()),
'-j', str(args.nproc),
'CC={}'.format(cc),
'CXX={}'.format(cxx),
'PKG_CONFIG={}'.format(common.buildroot_pkg_config),