diff options
-rwxr-xr-x | templates/turris.run | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/turris.run b/templates/turris.run index 9135f01..0699418 100755 --- a/templates/turris.run +++ b/templates/turris.run @@ -2,9 +2,10 @@ # vim: ft=sh . "$(dirname "$(readlink -f "$0")")/../job.common" ################################################### -compile_params="-j$(nproc) -f" -num_jobs="$(($(nproc) * 2))" -make="force-make -j$num_jobs -d$num_jobs -f V=99 -- -l$(nproc) BUILD_LOG=1" +num_load="$(nproc)" +num_jobs="$((num_load * 2))" +compile_params="-j$num_jobs -a -l$num_load -f" +make="force-make -j$num_jobs -d$num_jobs -f V=99 -- -l$num_load BUILD_LOG=1" ################################################### export IS_TTY=1 |