diff options
Diffstat (limited to 'templates/turris.run')
-rwxr-xr-x | templates/turris.run | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/turris.run b/templates/turris.run index 01a56d5..e5306e9 100755 --- a/templates/turris.run +++ b/templates/turris.run @@ -1,7 +1,14 @@ #!/bin/sh # vim: ft=sh . "$(dirname "$(readlink -f "$0")")/../job.common" -. turris-common.sh +################################################### +parallel=-j4 +make="make -j4 IS_TTY=1 BUILD_LOG=1" +if [ "$V" -ge 1 ]; then + parallel=-j1 + make="make -j1 IS_TTY=1 BUILD_LOG=1 V=99" +fi +################################################### curl "https://repo.turris.cz/$ANIMAL/$BOARD/packages/git-hash" > git-hash cat git-hash |