On 23/10/2019 00:59, Nick Owens wrote:
parallel builds for native code in python modules was added about 5
years ago. distutils understands '-j N', so just pass along
${PARALLEL_MAKE} to setup.py build.
Does distutils *only* understand -j? It's not unusual to set
PARALLEL_MAKE to something like '-j10 -l5' to factor in the load average.
If distutils doesn't handle -l then it's safer to use a function in
oe.utils instead:
... ${@oe.utils.parallel_make_argument(d, "-j %d")} ...
Ross
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core