From 752d9050d3a2f8732c2f157b638ba90215d2bf39 Mon Sep 17 00:00:00 2001 From: swatisharma Date: Fri, 2 Sep 2016 17:33:58 +0530 Subject: OPNFV KVM4NFV: Reduce Qemu build duration This patch contains some enhancement to reduce the duration for qemu rpm and debian build. Change-Id: Ic27b8b200a383af613a09027bad73f1cf62c54ce Co-Authored-By: Navya Bathula Signed-off-by: Swati Sharma Signed-off-by: Yunhong Jiang --- ci/build_rpm/build_rpms_docker.sh | 2 +- ci/build_rpm/mkspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ci') diff --git a/ci/build_rpm/build_rpms_docker.sh b/ci/build_rpm/build_rpms_docker.sh index 2670163e4..59d5bb911 100755 --- a/ci/build_rpm/build_rpms_docker.sh +++ b/ci/build_rpm/build_rpms_docker.sh @@ -10,7 +10,7 @@ cp -r $rpm_build_dir $tmp_rpm_build_dir cd $tmp_rpm_build_dir/qemu make clean ./configure -make +make -j$(nproc) cd $tmp_rpm_build_dir ./ci/build_rpm/qemu_rpm_build.sh build_output diff --git a/ci/build_rpm/mkspec b/ci/build_rpm/mkspec index 4aa542325..2f750dc34 100755 --- a/ci/build_rpm/mkspec +++ b/ci/build_rpm/mkspec @@ -27,7 +27,7 @@ echo "%setup -q" echo " " echo "%build" echo "%_configure" -echo "make" +echo "make -j$(nproc)" echo "%install" echo "rm -rf %{buildroot}" echo "make install DESTDIR=%{buildroot}" -- cgit 1.2.3-korg