[OE-core] [PATCH] classes/cpan-base: fix for PERLVERSION

Huang, Jie (Jackie) Jackie.Huang at windriver.com
Fri Dec 9 08:30:29 UTC 2016


Yes, I can fix it in the recipe that uses PERLVERSION as an alternative.

Thanks,
Jackie

From: Burton, Ross [mailto:ross.burton at intel.com]
Sent: Monday, December 05, 2016 11:34 PM
To: Huang, Jie (Jackie)
Cc: OE-core
Subject: Re: [OE-core] [PATCH] classes/cpan-base: fix for PERLVERSION


On 9 November 2016 at 05:51, <jackie.huang at windriver.com<mailto:jackie.huang at windriver.com>> wrote:
-PERLVERSION := "${@get_perl_version(d)}"
+PERLVERSION = "${@get_perl_version(d)}"

This uses := as the get_perl_version is a non-trivial amount of python which doesn't need to be re-evaluated all the time.  Have you looked at how bad the performance hit is, and whether there is an alternative?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20161209/64dd280f/attachment-0002.html>


More information about the Openembedded-core mailing list