summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2019-03-05 23:02:49 +0100
committerKarel Kočí <cynerd@email.cz>2019-03-05 23:06:52 +0100
commitf7ac077009bccd9257bc5e4b35631a261c1ece80 (patch)
tree54955f5206707bdea1227eb49e028f33649f12be /scripts
parentc6ab53a9fb09904ac83459bbda1691623d1d60d1 (diff)
downloadlaminar-cnf-f7ac077009bccd9257bc5e4b35631a261c1ece80.tar.gz
laminar-cnf-f7ac077009bccd9257bc5e4b35631a261c1ece80.tar.bz2
laminar-cnf-f7ac077009bccd9257bc5e4b35631a261c1ece80.zip
Change to use only one runner and build 8 jobs in parallel
Diffstat (limited to 'scripts')
-rw-r--r--scripts/turris-common.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/turris-common.sh b/scripts/turris-common.sh
new file mode 100644
index 0000000..8a4e4e6
--- /dev/null
+++ b/scripts/turris-common.sh
@@ -0,0 +1,6 @@
+parallel=-j8
+make="make -j8 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