From: Seung-Woo Kim Date: Tue, 26 Mar 2024 02:23:49 +0000 (+0900) Subject: script: build: Use twice the number of CPUs for cuncurrent compile X-Git-Tag: accepted/tizen/unified/toolchain/20240507.011921~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F57%2F308457%2F1;p=platform%2Fkernel%2Flinux-starfive.git script: build: Use twice the number of CPUs for cuncurrent compile It is safe to run twice the number of CPUs for concurrent compile and it already calculates for it. So, Use twice the number of CPUs. Change-Id: I5eb5bb80730ffb8c381244c9bf09e5dc77d2c634 Signed-off-by: Seung-Woo Kim --- diff --git a/build.sh b/build.sh index db9d5829..fa2332d 100755 --- a/build.sh +++ b/build.sh @@ -104,7 +104,7 @@ ARCH=riscv if ! [ -e .config ] ; then make ARCH=${ARCH} CROSS_COMPILE="$CROSS_COMPILER" tizen_visionfive2_defconfig fi -make ARCH=${ARCH} CROSS_COMPILE="$CROSS_COMPILER" -j8 +make ARCH=${ARCH} CROSS_COMPILE="$CROSS_COMPILER" -j ${NCPUS} if [ ! -f "./arch/riscv/boot/Image" ]; then echo "Build fail" exit 1