Skip to content

Commit 6a765a5

Browse files
committed
[CI] issue:HPCINFRA-3086 improve deb package build time
Signed-off-by: Daniel Pressler <[email protected]>
1 parent 121cfe9 commit 6a765a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contrib/jenkins_tests/rpm.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ if [ $opt_binrpm -eq 1 ]; then
7676
if [ $opt_rpm -eq 1 ]; then
7777
test_exec="env RPM_BUILD_NCPUS=${NPROC} rpmbuild -bb --define='configure_options $jenkins_test_custom_configure' $rpmmacros $rpmopts $rpmspec"
7878
else
79-
test_exec="env configure_options=\"$jenkins_test_custom_configure\" dpkg-buildpackage -us -uc -b"
79+
test_exec="env configure_options=\"$jenkins_test_custom_configure\" make_opts=\"-j${NPROC}\" dpkg-buildpackage --jobs=$NPROC -us -uc -b"
8080
fi
8181
do_check_result "$test_exec" "$test_id" "binrpm" "$rpm_tap" "${rpm_dir}/rpm-${test_id}"
8282
test_id=$((test_id+1))

debian/rules

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ build-debug:
1616
./configure --with-ofed=/usr --prefix=/usr \
1717
--libdir=/usr/lib --includedir=/usr/include --sysconfdir=/etc \
1818
--enable-opt-log=none --enable-debug ${configure_options}
19-
make
19+
make ${make_opts}
2020
cp -f src/core/.libs/libxlio.so libxlio-debug.so
2121
make clean
2222

0 commit comments

Comments
 (0)