From 176aa3f98699007e4ae332cf09884654443e4531 Mon Sep 17 00:00:00 2001 From: Gaurang Tapase Date: Mon, 25 Apr 2022 18:29:46 +0530 Subject: [PATCH] LU-18196 build: Use -j nproc in lustre dkms install during make MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This is a port of Lustre-change: https://review.whamcloud.com/47132 Lustre-commit: 56e33729e84f87a73415e195567ae29ec6ab6cda EX-bug-id:EX-4080 Test-Parameters: trivial Signed-off-by: Gaurang Tapase Signed-off-by: Emoly Liu Change-Id: I4f815a0be8900ad427e59cace9a6afc3297710d0 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56234 Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin Reviewed-by: Jian Yu Tested-by: Maloo Tested-by: jenkins --- debian/dkms.conf.in | 2 +- lustre/scripts/dkms.mkconf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/dkms.conf.in b/debian/dkms.conf.in index a538663..bb52124 100644 --- a/debian/dkms.conf.in +++ b/debian/dkms.conf.in @@ -72,7 +72,7 @@ CONFIGURE="${CONFIGURE} --with-linux-obj=$kernel_source_dir ${OPTS}" # Note OPTS, AUTOGEN, CONFIGURE are not exposed to dkms parser -MAKE="${AUTOGEN} && ${CONFIGURE} && make" +MAKE="${AUTOGEN} && ${CONFIGURE} && make -j `nproc`" CLEAN="make distclean || true" NO_WEAK_MODULES="yes" diff --git a/lustre/scripts/dkms.mkconf b/lustre/scripts/dkms.mkconf index 8aacae8..dadb441 100755 --- a/lustre/scripts/dkms.mkconf +++ b/lustre/scripts/dkms.mkconf @@ -41,7 +41,7 @@ cat >>${filename} <