[Rpm-maint] [rpm-software-management/rpm] RFC: Limit build parallelism by available memory too, add tunables (#804) (#821)

pavlinamv notifications at github.com
Fri Aug 30 10:20:46 UTC 2019

I tested this PR on my laptop.

- The expansion of macro %{getmem:virt}" finishes with an error. It is because getmem returns 0. This is caused by the fact that function getmem_virt returns SIZE_MAX. After dividing by 1024^2 it is still to high to fit into return_type of getmem (unsigned int).  

- If there is a wrong parameter after '%{getmem:' , then no warning or error is emitted

- Why you use a new type of built-in macro synatx %{getmem:<type>} instead of something close to the existing built-in macros like %getmem_avail?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190830/5d02579c/attachment.html>

More information about the Rpm-maint mailing list