Reduce number of parallel gcc invocations from 4 to 2 per cpu
[vpp.git] / build-root / Makefile
index f8b2105..34d6c9d 100644 (file)
@@ -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)