From: Seung-Woo Kim Date: Fri, 29 Jan 2021 04:07:08 +0000 (+0900) Subject: script: increase the number of concurrent compilers X-Git-Tag: submit/tizen/20210204.012538~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F01%2F252501%2F1;p=platform%2Fkernel%2Flinux-amlogic.git script: increase the number of concurrent compilers It is safe to run as many compilation processes as twice the number of CPUs. Change-Id: Ic6c052d6c30f94920c3bdd272c2f1b19ecbe1ac2 Signed-off-by: Seung-Woo Kim --- diff --git a/build-amlogic.sh b/build-amlogic.sh index 6fd8517485af..504ca4f834ac 100755 --- a/build-amlogic.sh +++ b/build-amlogic.sh @@ -3,6 +3,7 @@ CROSS_COMPILE=${CROSS_COMPILE:-aarch64-linux-gnu-} ARM_ARCH=arm64 NCPUS=`cat /proc/cpuinfo | grep processor | wc -l` +NCPUS=$(($NCPUS * 2)) # Check this system has ccache check_ccache()