diff options
author | Sadie Powell <sadie@witchery.services> | 2020-02-10 11:59:15 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-02-10 11:59:15 +0000 |
commit | 0c34d2844712798812c40d30b786cd5f86d9c850 (patch) | |
tree | a5fa16f75816b2bfbf9563323565934891bb5258 /tools/test-build | |
parent | b30c385ce5748905572ebb2abc495b7135bf4399 (diff) |
Tell people to run make with the number of CPU cores plus 1.
This results in faster builds as there's always one job waiting.
Diffstat (limited to 'tools/test-build')
-rwxr-xr-x | tools/test-build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test-build b/tools/test-build index abb43b50f..516af0866 100755 --- a/tools/test-build +++ b/tools/test-build @@ -64,7 +64,7 @@ foreach my $compiler (@compilers) { say "Failed to configure using the $compiler compiler and the $socketengine socket engine!"; exit 1; } - if (execute 'make', '--jobs', get_cpu_count, 'install') { + if (execute 'make', '--jobs', get_cpu_count + 1, 'install') { say "Failed to compile using the $compiler compiler and the $socketengine socket engine!"; exit 1; } |