diff --git a/scripts/build-all.py b/scripts/build-all.py index 5c51a9e9d9e0..b8b5197762cc 100755 --- a/scripts/build-all.py +++ b/scripts/build-all.py @@ -327,7 +327,7 @@ def build_many(targets): # parallel builds tends to use up available memory rather quickly. parallel = 2 if all_options.jobs and all_options.jobs > 1: - j = min(all_options.jobs / parallel, 2) + j = max(all_options.jobs / parallel, 2) make_command.append("-j" + str(j)) tracker = BuildTracker(parallel)