pcl: disable parallel build (resolves #588)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
[lukas.bulwahn@gmail.com: include reference to meta-ros issue tracker]
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
This commit is contained in:
Martin Jansa 2018-05-15 09:11:17 +00:00 committed by Lukas Bulwahn
parent 8fcd5838a4
commit 39170a8677
1 changed files with 5 additions and 0 deletions

View File

@ -40,3 +40,8 @@ CXXFLAGS += "${@bb.utils.contains("TARGET_CC_ARCH", "-mfpmath=sse", "", "-ffloat
inherit cmake inherit cmake
FILES_${PN}-dev += "${datadir}/${PN}-1.8/*.cmake" FILES_${PN}-dev += "${datadir}/${PN}-1.8/*.cmake"
# The build is really memory hungry (at least with gcc8), even with just -j 8 it triggers OOMK on system with 32GB ram
# High memory needs mentioned in: https://github.com/PointCloudLibrary/pcl/issues/2284
# Setting just empty doesn't work, ninja will by default use number of cores available
PARALLEL_MAKE = "-j1"