public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Gordon Messmer <gordon.messmer@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/openvdb] f45: Use rpm's native resource tunable to limit parallelism.
Date: Wed, 07 Oct 2026 07:55:14 GMT	[thread overview]
Message-ID: <179135971429.1.3145759232084589557.rpms-openvdb-c86f793cb6a2@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-10-07  7:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179135971429.1.3145759232084589557.rpms-openvdb-c86f793cb6a2@fedoraproject.org \
    --to=gordon.messmer@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox