From 61350fcb7a25041945ca6a2ae126b9ab7258ab25 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Tue, 26 Mar 2024 11:23:49 +0900 Subject: [PATCH] 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 --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index db9d582927a6..fa2332df8e01 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 -- 2.34.1