mirror of
https://github.com/truenas/core-build.git
synced 2026-02-15 07:36:18 +00:00
Fix
This commit is contained in:
@@ -51,11 +51,14 @@ portoptions = e('${POUDRIERE_ROOT}/etc/poudriere.d/options')
|
||||
def calculate_make_jobs():
|
||||
global makejobs
|
||||
|
||||
"""
|
||||
jobs = sh_str('sysctl -n kern.smp.cpus')
|
||||
if not jobs:
|
||||
makejobs = 2
|
||||
|
||||
makejobs = os.environ.get("POUDRIERE_JOBS", int(jobs) + 1)
|
||||
"""
|
||||
makejobs = 6
|
||||
debug('Using {0} make jobs', makejobs)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user