| Summary: | devel/ninja: MAKE_JOBS behavior differs from make | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Lawrence Chen <beastie> | ||||||
| Component: | Ports Framework | Assignee: | Antoine Brodin <antoine> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | CC: | portmgr | ||||||
| Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(gblach) gblach: exp-run? |
||||||
| Version: | Latest | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
|
Description
Lawrence Chen
2015-02-22 02:51:19 UTC
Auto-assigned to maintainer gblach@FreeBSD.org Created attachment 155305 [details]
Set _MAKE_JOBS= -j1 if DISABLE_MAKE_JOBS is set
I am pondering _MAKE_JOBS= vs _MAKE_JOBS?= , so that the following ports can continue overriding _MAKE_JOBS (they do this because they already set the number of jobs in the configure phase): editors/libreoffice/Makefile:_MAKE_JOBS= # java/openjdk8/Makefile:_MAKE_JOBS= # java/openjdk7/Makefile:_MAKE_JOBS= # Beside it should be ?= it looks good to me I will exp-run with ?= So, this exp-run is a disaster, I will stop it. There are those kind of failures with ports with hundreds of dependencies: http://pb2.nyi.freebsd.org/data/101amd64-default-197910findlibs/2015-04-07_23h59m42s/logs/errors/libiconv-1.14_6.log http://pb2.nyi.freebsd.org/data/101amd64-default-197910findlibs/2015-04-07_23h59m42s/logs/errors/sqlite3-3.8.8.3.log http://pb2.nyi.freebsd.org/data/101amd64-default-197910findlibs/2015-04-07_23h59m42s/logs/errors/boehm-gc-7.4.2_3.log http://pb2.nyi.freebsd.org/data/101amd64-default-197910findlibs/2015-04-07_23h59m42s/logs/errors/p5-Moose-2.1403,1.log http://pb2.nyi.freebsd.org/data/101amd64-default-197910findlibs/2015-04-07_23h59m42s/logs/errors/gdbm-1.11_2.log Maybe we can have: _MAKE_JOBS?= # So that ninja.mk can override it? Created attachment 155340 [details]
proposed patch
Here is a proposed patch
A commit references this bug: Author: antoine Date: Fri Apr 10 05:45:16 UTC 2015 New revision: 383692 URL: https://svnweb.freebsd.org/changeset/ports/383692 Log: - Make it possible to override _MAKE_JOBS when MAKE_JOBS_NUMBER=1 - Override it for USES=ninja With this commit and r383571, ports using ninja and waf now respect MAKE_JOBS_NUMBER when it's equal to 1 PR: 197910 With hat: portmgr Changes: head/Mk/Uses/ninja.mk head/Mk/bsd.port.mk A fix has been committed. A commit references this bug: Author: bdrewery Date: Sat Jun 13 03:32:10 UTC 2015 New revision: 389315 URL: https://svnweb.freebsd.org/changeset/ports/389315 Log: MFH: r383692 - Make it possible to override _MAKE_JOBS when MAKE_JOBS_NUMBER=1 - Override it for USES=ninja With this commit and r383571, ports using ninja and waf now respect MAKE_JOBS_NUMBER when it's equal to 1 PR: 197910 With hat: portmgr Changes: _U branches/2015Q2/ branches/2015Q2/Mk/Uses/ninja.mk branches/2015Q2/Mk/bsd.port.mk |