Summary: | It would be useful that portage to skip parallel build on some big packages when --jobs greater than one is used | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Cănărău Constantin <canarauc> |
Component: | Enhancement/Feature Requests | Assignee: | Portage team <dev-portage> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | bjoern, esigra, korte, pacho |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=692576 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 184128 |
Description
Cănărău Constantin
2020-08-14 09:02:07 UTC
The best solution that is currently available is to use --load-average LOAD in MAKEOPTS and also in EMERGE_DEFAULT_OPTS, in order to prevent overloading. (In reply to Zac Medico from comment #1) > The best solution that is currently available is to use --load-average LOAD > in MAKEOPTS and also in EMERGE_DEFAULT_OPTS, in order to prevent overloading. Yes, but unfortunately, --load-average is futile when two big -flto=8 start to optimize and link. For a very long time now, I was using --ask or --pretend and emerge them separately, manually, when necessary. So a working solution exists. All I say, it would be nice some auto-mode regarding this issue, but only if the work involved is reasonable and helps more users, obviously. (In reply to Zac Medico from comment #1) > The best solution that is currently available is to use --load-average LOAD > in MAKEOPTS and also in EMERGE_DEFAULT_OPTS, in order to prevent overloading. I have seen that man page suggests some values for MAKEOPTS but not for --load-average... maybe some suggestions could be suggested there too and, that way, more people would try to use it. For now I have seen https://wiki.gentoo.org/wiki/EMERGE_DEFAULT_OPTS#Parallel_builds *** Bug 822846 has been marked as a duplicate of this bug. *** |