summaryrefslogtreecommitdiffstats
path: root/ci/build_rpm/mkspec
diff options
context:
space:
mode:
authorswatisharma <swatix.sharma@intel.com>2016-09-02 17:33:58 +0530
committerYunhong Jiang <yunhong.jiang@linux.intel.com>2016-09-21 13:29:04 -0700
commit752d9050d3a2f8732c2f157b638ba90215d2bf39 (patch)
treee7af0857c2d828e6dc009b71fbf9d690bbc197eb /ci/build_rpm/mkspec
parent1831d612b0a27437de1b1966ae93a8f9dea42e9c (diff)
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 <b.navya4@tcs.com> Signed-off-by: Swati Sharma <swatix.sharma@intel.com> Signed-off-by: Yunhong Jiang <yunhong.jiang@linux.intel.com>
Diffstat (limited to 'ci/build_rpm/mkspec')
-rwxr-xr-xci/build_rpm/mkspec2
1 files changed, 1 insertions, 1 deletions
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}"