Summary: | waf-utils.eclass respects jobs set in MAKEOPTS only for compile phase, not configure or install phases | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jacob Floyd <cognifloyd+gentoobugs> |
Component: | Eclasses | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 654178 |
Description
Jacob Floyd
2020-03-31 01:56:52 UTC
Link to related bug#683148 that found that configure phase was not getting jobs setting. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8bbd4cf6d3b4f87a78dddf7d85fabe68fc27b20 commit c8bbd4cf6d3b4f87a78dddf7d85fabe68fc27b20 Author: Matthew Smith <matthew@gentoo.org> AuthorDate: 2022-10-17 17:49:38 +0000 Commit: Matthew Smith <matthew@gentoo.org> CommitDate: 2022-11-25 08:55:31 +0000 waf-utils.eclass: set --jobs=1 for configure and install MAKEOPTS was only respected for src_compile, leading to out-of-memory issues for some users. Force number of concurrent jobs to 1 in src_configure and src_install phases as it doesn't provide much of a benefit anyway. Closes: https://bugs.gentoo.org/715542 Signed-off-by: Matthew Smith <matthew@gentoo.org> eclass/waf-utils.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00f0517beddf7efb61f9f18f36f22dd76fc4a7aa commit 00f0517beddf7efb61f9f18f36f22dd76fc4a7aa Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2023-01-28 19:21:00 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2023-05-19 02:38:03 +0000 waf-utils.eclass: enable parallel install This gives a nice speedup to net-fs/samba, which (re)links several hundred files in its install phase. Bug: https://bugs.gentoo.org/715542 Signed-off-by: Mike Gilbert <floppym@gentoo.org> eclass/waf-utils.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) |