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

            A new commit has been pushed.

            Repo   : rpms/openvdb
            Branch : f45
            Commit : c86f793cb6a2cfd66e97f3ad3b994421b19675fe
            Author : Gordon Messmer <gordon.messmer@gmail.com>
            Date   : 2026-10-07T00:54:40-07:00
            Stats  : +3/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/openvdb/c/c86f793cb6a2cfd66e97f3ad3b994421b19675fe?branch=f45

            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 %limit_build redundant.

See BZ#2404624

---
diff --git a/openvdb.spec b/openvdb.spec
index e643275..3949305 100644
--- a/openvdb.spec
+++ b/openvdb.spec
@@ -12,6 +12,8 @@
 
 # Keep AX on a known-compatible LLVM stream when explicitly enabled.
 %global llvm_compat 20
+# OpenVDB is exceptionally memory-intensive on some secondary architectures.
+%global _smp_tasksize_proc 12288
 
 %global _description %{expand:
 OpenVDB is an Academy Award-winning open-source C++ library comprising a novel
@@ -265,8 +267,7 @@ printf '%s\n' 'cmake(GTest)'
 %endif
     %{nil}
 
-# OpenVDB is exceptionally memory-intensive on some secondary architectures.
-%cmake_build %limit_build -m 12288
+%cmake_build
 
 
 %install

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

only message in thread, other threads:[~2026-10-07  7:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-07  7:55 [rpms/openvdb] f45: 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