[Rpm-maint] [rpm-software-management/rpm] Consider available memory and address space for parallel execution (PR #2418)
Panu Matilainen
notifications at github.com
Wed Mar 8 08:22:11 UTC 2023
See commits for details, but short summary: add optional proc/thread argument to %{getncpus} macro which consider the available memory and address space, based on newly added tunables for tasksize.
The goal here is to avoid build failures due to gross overallocation on constrained systems, and to allow packagers to easily adjust for gigantic builds.
Fixes: #804
You can view, comment on, or merge this pull request online at:
https://github.com/rpm-software-management/rpm/pull/2418
-- Commit Summary --
* Add optional total/proc/thread arguments to %{getncpus} macro
* Make rpmio parallelism memory aware
* Make build parallelism memory and address-space aware (#804)
-- File Changes --
M build/build.c (9)
M docs/manual/macros.md (5)
M macros.in (11)
M rpmio/macro.c (91)
M rpmio/rpmio.c (2)
M tests/rpmmacro.at (24)
-- Patch Links --
https://github.com/rpm-software-management/rpm/pull/2418.patch
https://github.com/rpm-software-management/rpm/pull/2418.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2418
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2418 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20230308/5bf26159/attachment.html>
More information about the Rpm-maint
mailing list