[ovs-dev] [PATCH 7/8] travis: Use parallel jobs for DPDK and sparse builds.
Ilya Maximets
i.maximets at samsung.com
Fri Feb 8 16:48:59 UTC 2019
This allows to save a few minutes.
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
---
.travis/linux-build.sh | 2 +-
.travis/linux-prepare.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh
index b1b2c831b..0cf5da6af 100755
--- a/.travis/linux-build.sh
+++ b/.travis/linux-build.sh
@@ -73,7 +73,7 @@ function install_dpdk()
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/$TARGET/lib
fi
make config CC=gcc T=$TARGET
- make CC=gcc RTE_KERNELDIR=$KERNELSRC
+ make -j4 CC=gcc RTE_KERNELDIR=$KERNELSRC
echo "Installed DPDK source in $(pwd)"
cd ..
}
diff --git a/.travis/linux-prepare.sh b/.travis/linux-prepare.sh
index 89770c28d..eaff88cd2 100755
--- a/.travis/linux-prepare.sh
+++ b/.travis/linux-prepare.sh
@@ -8,7 +8,7 @@ set -ev
# environments claim to have LLVM (llvm-config exists and works) but
# linking against it fails.
git clone git://git.kernel.org/pub/scm/devel/sparse/chrisl/sparse.git
-cd sparse && make HAVE_LLVM= install && cd ..
+cd sparse && make -j4 HAVE_LLVM= install && cd ..
pip install --disable-pip-version-check --user six flake8 hacking
pip install --user --upgrade docutils
--
2.17.1
More information about the dev
mailing list