summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xci/build_rpm/build_rpms_docker.sh2
-rwxr-xr-xci/build_rpm/mkspec2
2 files changed, 2 insertions, 2 deletions
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}"