Reduce number of parallel builds 02/9402/1
authorDamjan Marion <damarion@cisco.com>
Mon, 13 Nov 2017 19:09:21 +0000 (20:09 +0100)
committerDamjan Marion <damarion@cisco.com>
Mon, 13 Nov 2017 19:09:23 +0000 (20:09 +0100)
commit9324284af8d8436ce434e3da58e8eabbe609cb56
tree83f0f3b2d9abd6d1172c3c53fb75abc683e6a296
parent04f3db3847d242857b9d9d858bcdca538a1be7d7
Reduce number of parallel builds

With recent introduction of C++ code required memory for each compiler
instance has significantly increased causing build issues.

Currently build system spins 2 compiler instances per logical CPU core.

As CPU can hardly execute more than one thread at a time, it should be
pretty safe to change that formula so it doesn't multiply number of cpu
cores by 2 and such change will signifucantly reduce amount of memory
needed.

Change-Id: Ic829fff6e45f4caf98a6d9c1c98c53ed003039ef
Signed-off-by: Damjan Marion <damarion@cisco.com>
build-root/Makefile
dpdk/Makefile