From 1a743abf335e85ba1a3da5918c25bba9d9d0c08f Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Tue, 28 May 2019 15:06:19 -0700 Subject: [PATCH] DRAFT pcl: Document PARALLEL_MAKE empirically determined value --- recipes-extended/pcl/pcl_1.8.1.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes-extended/pcl/pcl_1.8.1.bb b/recipes-extended/pcl/pcl_1.8.1.bb index df97e19..7b30aac 100644 --- a/recipes-extended/pcl/pcl_1.8.1.bb +++ b/recipes-extended/pcl/pcl_1.8.1.bb @@ -44,6 +44,9 @@ 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 +# However, quick experiments have shown that it's possible to use up to CEIL(/5) as the argument to -j without running +# out of memory as long as the machine has a few GB of swap spacce => override the setting here by setting +# PARALLEL_MAKE_pn-pcl in conf/local.conf . PARALLEL_MAKE = "-j1" # Fixes this: