Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Reduce number of parallel gcc invocations from 4 to 2 per cpu
[vpp.git]
/
build-root
/
Makefile
diff --git
a/build-root/Makefile
b/build-root/Makefile
index
f8b2105
..
34d6c9d
100644
(file)
--- a/
build-root/Makefile
+++ b/
build-root/Makefile
@@
-670,7
+670,7
@@
linux_n_cpus = `grep '^processor' /proc/cpuinfo | wc -l`
MAKE_PARALLEL_JOBS = \
-j $(shell \
if [ -f /proc/cpuinfo ] ; then \
- expr
4
'*' $(linux_n_cpus) ; \
+ expr
2
'*' $(linux_n_cpus) ; \
else \
echo 1 ; \
fi)