Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 2024 20:25:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 283636] Mk/bsd.port.mk: Limit number of OpenMP threads
Message-ID:  <bug-283636-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283636

            Bug ID: 283636
           Summary: Mk/bsd.port.mk: Limit number of OpenMP threads
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: tijl@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

Created attachment 256165
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D256165&action=
=3Dedit
patch

By default OpenMP programs can use as many threads as there are cores.  Add
OMP_THREAD_LIMIT=3D${MAKE_JOBS_NUMBER} to WRK_ENV to limit this.  An exampl=
e is
"make test" in x11/pixman (with update from bug 283530).

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-283636-7788>