summaryrefslogtreecommitdiff
path: root/devel/ckmake
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ckmake')
-rwxr-xr-xdevel/ckmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/devel/ckmake b/devel/ckmake
index 07227126..9129a7f2 100755
--- a/devel/ckmake
+++ b/devel/ckmake
@@ -153,6 +153,7 @@ def process_kernel(num, kset, cmdline_args):
ignore=ignore_patterns('.tmp*', ".git"))
build = '%s/build/' % rel['full_path']
jobs = '-j%d' % kset.build_jobs
+ load = '-l%d' % 50
make_args = ['KLIB=%s' % build,
'KLIB_BUILD=%s' % build]
nice = ['ionice', '-c', '3', 'nice', '-n', '20']
@@ -180,7 +181,7 @@ def process_kernel(num, kset, cmdline_args):
kset.baking(rel)
- p = subprocess.Popen(nice + ['make', jobs] + make_args + [config_name],
+ p = subprocess.Popen(nice + ['make', jobs, load] + make_args + [config_name],
cwd=work_dir, env=all_config_env,
stdin=null_file,
stdout=log_file,
@@ -188,7 +189,7 @@ def process_kernel(num, kset, cmdline_args):
p.wait()
if p.returncode == 0:
- p = subprocess.Popen(nice + ['make', jobs] + make_args,
+ p = subprocess.Popen(nice + ['make', jobs, load] + make_args,
cwd=work_dir,
stdin=null_file,
stdout=log_file,