projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba2192a
)
script: increase the number of concurrent compilers
author
Łukasz Stelmach
<l.stelmach@samsung.com>
Wed, 13 Jan 2021 10:24:40 +0000
(11:24 +0100)
committer
Hoegeun Kwon
<hoegeun.kwon@samsung.com>
Mon, 7 Feb 2022 08:01:41 +0000
(17:01 +0900)
It is safe to run as many compilation processes as twice the number of
CPUs. This is the default settings of RPM building process in Tizen.
Change-Id: Id68d9d31bc54da11c8732689645408241a517887
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
build-rpi4.sh
patch
|
blob
|
history
diff --git
a/build-rpi4.sh
b/build-rpi4.sh
index
31a8213
..
7c2930d
100755
(executable)
--- a/
build-rpi4.sh
+++ b/
build-rpi4.sh
@@
-1,6
+1,7
@@
#!/bin/bash
NCPUS=`cat /proc/cpuinfo | grep processor | wc -l`
+NCPUS=$(($NCPUS * 2))
if [ $# != 1 ]; then
echo "Usage : $0 <architecture>"