[Rpm-maint] [rpm-software-management/rpm] RFE: Use `%_platform_multiplier'` (#1700)

Miroslav Suchý notifications at github.com
Mon Jun 14 08:52:48 UTC 2021


Mock now use and defines `%_platform_multiplier'`. The meaning is that if some platform (e.g. emulated using QEMU) is slower, then this macro defines the factor of slowiness. Right now, Mock sets it to 10 when the build is run in emulated QEMU, but it can be fine-tuned by the admin.
More details can be found in:
  https://github.com/rpm-software-management/mock/pull/730
  https://github.com/rpm-software-management/mock/issues/697

There is a UX issue that the use of this macro is a bit tricky and e.g. timeout has to be written like

    60*%{?_platform_multiplier}%{!?_platform_multiplier:1}

It would be nice if rpm itself can define macro/function `%platform_timeout` with the definition above. I.e. it returns X when `%_platform_multiplier` is not defined and X*`%_platform_multiplier`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1700
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210614/57bf5e14/attachment.html>


More information about the Rpm-maint mailing list