[OE-core] [PATCH] perl: use parallel build where possible

Alexander Kanavin alexander.kanavin at linux.intel.com
Mon Mar 5 14:03:16 UTC 2018


On 03/03/2018 10:53 AM, Richard Purdie wrote:
> On Fri, 2018-03-02 at 17:32 +0200, Alexander Kanavin wrote:
>> While the upstream just runs a number of make tasks hardcoded to a
>> single thread
>> in succession, we can add '-j n_threads' to a few of them. The
>> benefit
>> is real: on my machine the do_compile() time goes from 250 seconds to
>> about 90.
>>
>> Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
>> ---
>>   meta/recipes-devtools/perl/perl_5.24.1.bb | 5 +++++
>>   1 file changed, 5 insertions(+)
> 
> I like the idea of the patch but I think it triggered:
> 
> https://autobuilder.yocto.io/builders/nightly-world/builds/806/steps/BuildImages/logs/stdio

Unfortunately it's also a race:

| JSON::PP 2.27103 is not available
...
| Unsuccessful Makefile.PL(ext/ODBM_File): code=65280 at make_ext.pl 
line 521.
| makefile:590: recipe for target 'lib/auto/ODBM_File/ODBM_File.so' failed

Maybe we should look into reducing perl dependencies instead, 
particularly look into whether perl is really still needed for RDEPENDS 
of various ptests of 'core' packages.

Alex



More information about the Openembedded-core mailing list