On Tue, Nov 10, 2015 at 9:48 PM, Zoltan Kuscsik <[email protected]> wrote: > Hi, > > isn't ninja picking up the number of cores separately? I'm not sure why > this is needed.
Without any -j option, ninja will default to "-j (logical_cores + 2)". The PARALLEL_MAKE value configured in OE isn't just about maximising parallelism though (although that's it's common usage), it's also useful to limit parallelism and reduce the load on the CPU. If PARALLEL_MAKE isn't passed to ninja builds then they will always fully load the CPU. > Z > > On 11 November 2015 at 05:48, Andre McCurdy <[email protected]> wrote: > >> Signed-off-by: Andre McCurdy <[email protected]> >> --- >> recipes-browser/chromium/cef3_280796.bb | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/recipes-browser/chromium/cef3_280796.bb >> b/recipes-browser/chromium/cef3_280796.bb >> index d827b8e..6872e5b 100644 >> --- a/recipes-browser/chromium/cef3_280796.bb >> +++ b/recipes-browser/chromium/cef3_280796.bb >> @@ -60,5 +60,5 @@ do_qa_configure() { >> } >> >> do_compile() { >> - ninja -C out/${CHROMIUM_BUILD_TYPE} -j${BB_NUMBER_THREADS} cefsimple >> + ninja -C out/${CHROMIUM_BUILD_TYPE} ${PARALLEL_MAKE} cefsimple >> } >> -- >> 1.9.1 >> >> -- >> _______________________________________________ >> Openembedded-devel mailing list >> [email protected] >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel >> > > > > -- > Zoltan Kuscsik > > Senior Software Developer, Linaro Digital Home Group > email: [email protected] > IRC: zoli_ on irc.linaro.org > -- > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
