This is causing breakage on the autobuilder for kirkstone:

https://errors.yoctoproject.org/Errors/Details/822859/

The scarthgap version is fine, haven't tested styhead yet.

Steve

On Thu, Nov 21, 2024 at 5:43 AM Alexander Kanavin via
lists.openembedded.org <[email protected]>
wrote:
>
> From: Alexander Kanavin <[email protected]>
>
> zstd uses 3 by default, while 19 is the highest and slowest.
> It's not clear why 19 was picked to begin with, possibly
> I copy-pasted it from rpm's examples without thinking:
> https://git.yoctoproject.org/poky/commit/?h=master-next&id=4a4d5f78a6962dda5f63e9891825c80a8a87bf66
>
> This brings significant speedups in rpm's compression step:
> for example compressing webkitgtk takes 11s instead of 36s.
>
> The rpm size increases from 175648k to 234860k. I think it's
> a worthy default tradeoff.
>
> Signed-off-by: Alexander Kanavin <[email protected]>
> ---
>  meta/classes/package_rpm.bbclass | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/meta/classes/package_rpm.bbclass 
> b/meta/classes/package_rpm.bbclass
> index f403af53439..3541be07aeb 100644
> --- a/meta/classes/package_rpm.bbclass
> +++ b/meta/classes/package_rpm.bbclass
> @@ -2,9 +2,7 @@ inherit package
>
>  IMAGE_PKGTYPE ?= "rpm"
>
> -RPM="rpm"
> -RPMBUILD="rpmbuild"
> -RPMBUILD_COMPMODE ?= "${@'w19T%d.zstdio' % int(d.getVar('ZSTD_THREADS'))}"
> +RPMBUILD_COMPMODE ?= "${@'w3T%d.zstdio' % int(d.getVar('ZSTD_THREADS'))}"
>
>  PKGWRITEDIRRPM = "${WORKDIR}/deploy-rpms"
>
> --
> 2.39.5
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#207638): 
https://lists.openembedded.org/g/openembedded-core/message/207638
Mute This Topic: https://lists.openembedded.org/mt/109703382/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to