summaryrefslogtreecommitdiffstats
path: root/jjb/scripts/vpp/parallel-vars.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jjb/scripts/vpp/parallel-vars.sh')
-rw-r--r--jjb/scripts/vpp/parallel-vars.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/jjb/scripts/vpp/parallel-vars.sh b/jjb/scripts/vpp/parallel-vars.sh
new file mode 100644
index 000000000..1a5de149f
--- /dev/null
+++ b/jjb/scripts/vpp/parallel-vars.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+CORES=4
+if [[ $(uname -m) == 'aarch64' ]]
+then
+ CORES=16
+fi
+
+echo "Using MAKE_PARALLEL_FLAGS='-j $CORES' TEST_JOBS=$CORES for parallel build/test"
+
+export MAKE_PARALLEL_FLAGS="-j $CORES"
+export TEST_JOBS=$CORES