public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jens Petersen <petersen@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/ghc-OpenGLRaw] rawhide: avoid using more than 64 cores
Date: Mon, 20 Jul 2026 08:50:35 GMT	[thread overview]
Message-ID: <178453743522.1.4064512029754029842.rpms-ghc-OpenGLRaw-8af4c8072a8d@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/ghc-OpenGLRaw
            Branch : rawhide
            Commit : 8af4c8072a8d263e366895fba79c03f3fc4f7d71
            Author : Jens Petersen <petersen@redhat.com>
            Date   : 2026-07-17T19:17:42+08:00
            Stats  : +4/-0 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/ghc-OpenGLRaw/c/8af4c8072a8d263e366895fba79c03f3fc4f7d71?branch=rawhide

            Log:
            avoid using more than 64 cores

gcc: builderMainLoop: pipe: resource exhausted (Too many open files)

---
diff --git a/ghc-OpenGLRaw.spec b/ghc-OpenGLRaw.spec
index 52d3f35..55dc132 100644
--- a/ghc-OpenGLRaw.spec
+++ b/ghc-OpenGLRaw.spec
@@ -5,6 +5,10 @@
 %global pkgver %{pkg_name}-%{version}
 %{?haskell_setup}
 
+# -j192 caused:
+# gcc: builderMainLoop: pipe: resource exhausted (Too many open files)
+%global _smp_ncpus_max 64
+
 Name:           ghc-%{pkg_name}
 Version:        3.3.4.1
 Release:        %autorelease

                 reply	other threads:[~2026-07-20  8:50 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=178453743522.1.4064512029754029842.rpms-ghc-OpenGLRaw-8af4c8072a8d@fedoraproject.org \
    --to=petersen@redhat.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