summaryrefslogtreecommitdiffstats
path: root/jjb/vpp/include-raw-vpp-parallel-vars.sh
blob: 1a5de149f82bb9d4e90f49cddb1b7e79c45ea61c (plain)
1
2
3
4
5
6
7
8
9
10
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