projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58cc4d1
)
script: increase the number of concurrent compilers
01/252501/1
author
Seung-Woo Kim
<sw0312.kim@samsung.com>
Fri, 29 Jan 2021 04:07:08 +0000
(13:07 +0900)
committer
Seung-Woo Kim
<sw0312.kim@samsung.com>
Fri, 29 Jan 2021 04:27:47 +0000
(13:27 +0900)
It is safe to run as many compilation processes as twice
the number of CPUs.
Change-Id: Ic6c052d6c30f94920c3bdd272c2f1b19ecbe1ac2
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
build-amlogic.sh
patch
|
blob
|
history
diff --git
a/build-amlogic.sh
b/build-amlogic.sh
index
6fd8517
..
504ca4f
100755
(executable)
--- 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()