dev-qt/qtwebengine consumes a lot of memory during build, which seems to be caused by it using the jumbo build feature of Chromium (I see it building ..._jumbo_N.c files, which for www-client/chromium is being triggered by USE=jumbo-build). In fact it consumes so much memory, that I cannot build it in tmpfs with 16G of RAM. Would it be possible to allow users to disable the jumbo build feature through a IUSE=jumbo-build flag?
(In reply to Dennis Schridde from comment #0) > dev-qt/qtwebengine consumes a lot of memory during build, which seems to be > caused by it using the jumbo build feature of Chromium (I see it building > ..._jumbo_N.c files, which for www-client/chromium is being triggered by > USE=jumbo-build). In fact it consumes so much memory, that I cannot build > it in tmpfs with 16G of RAM. Would it be possible to allow users to disable > the jumbo build feature through a IUSE=jumbo-build flag? you could use the package.env system and set an exclusion for the package Change my path to your specific folder on a physical folder outside of tmpfs tree PORTAGE_TMPDIR="/usr/portage/distfiles/tmp~"
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/qt.git/commit/?id=76a2bab7c21e18325253b17ed31ca34cb5f4bf22 commit 76a2bab7c21e18325253b17ed31ca34cb5f4bf22 Author: Jimi Huotari <chiitoo@gentoo.org> AuthorDate: 2018-08-25 04:01:57 +0000 Commit: Jimi Huotari <chiitoo@gentoo.org> CommitDate: 2018-08-25 04:02:12 +0000 dev-qt/qtwebengine: add USE="jumbo-build" Allows for disabling 'jumbo-build' completely to reduce memory use. Bug: https://bugs.gentoo.org/660430 Package-Manager: Portage-2.3.48, Repoman-2.3.10 dev-qt/qtwebengine/metadata.xml | 1 + dev-qt/qtwebengine/qtwebengine-5.11.9999.ebuild | 8 +++++++- dev-qt/qtwebengine/qtwebengine-5.12.9999.ebuild | 8 +++++++- dev-qt/qtwebengine/qtwebengine-5.9999.ebuild | 8 +++++++- 4 files changed, 22 insertions(+), 3 deletions(-)
This is in the main tree now.