public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-graph-tool] f43: Use rpm's native resource tunable to limit parallelism.
@ 2026-07-16 17:51 Gordon Messmer
  0 siblings, 0 replies; only message in thread
From: Gordon Messmer @ 2026-07-16 17:51 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-graph-tool
            Branch : f43
            Commit : 4b0da84fe94610b8759f96e85e9ea797ae7cb90e
            Author : Gordon Messmer <gordon.messmer@gmail.com>
            Date   : 2025-10-16T14:48:49-07:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-graph-tool/c/4b0da84fe94610b8759f96e85e9ea797ae7cb90e?branch=f43

            Log:
            Use rpm's native resource tunable to limit parallelism.

rpm 4.19 and newer have built-in tunable settings to limit
parallel tasks which make %constrain_build redundant.

See BZ#2404624

---
diff --git a/python-graph-tool.spec b/python-graph-tool.spec
index 6faaa5e..7ed6fcc 100644
--- a/python-graph-tool.spec
+++ b/python-graph-tool.spec
@@ -1,5 +1,5 @@
 # This needs about 15 gigs per thread, otherwise OOMs.
-%constrain_build -m 15360
+%global _smp_tasksize_proc 15360
 
 Name:           python-graph-tool
 Version:        2.98

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-16 17:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-16 17:51 [rpms/python-graph-tool] f43: Use rpm's native resource tunable to limit parallelism Gordon Messmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox