From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Limit Memory Used By Portage/Firefox Build Causes OOM
Date: Sun, 21 Jun 2020 21:13:15 -0400 [thread overview]
Message-ID: <20200622011315.GA2450@waltdnes.org> (raw)
In-Reply-To: <a9855962-b11b-4259-8a29-ce24a35b48bf@www.fastmail.com>
On Sun, Jun 21, 2020 at 06:02:22PM -0500, Sid Spry wrote
>
> My immediate issue is cargo seems to ignore MAKEOPTS. Cargo
> also seems to select build parallelism itself.
You can also set the load average in MAKEOPTS ("-l" parameter; letter
"ell") to indirectly force fewer jobs. Try...
MAKEOPTS="-j1 -l1.5"
See also https://wiki.gentoo.org/wiki//etc/portage/package.env and
https://wiki.gentoo.org/wiki/Knowledge_Base:Overriding_environment_variables_per_package for pointers on how to create package-specific make.conf files
(or other stuff) for individual packages.
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
next prev parent reply other threads:[~2020-06-22 1:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-21 23:02 [gentoo-user] Limit Memory Used By Portage/Firefox Build Causes OOM Sid Spry
2020-06-22 1:13 ` Walter Dnes [this message]
2020-06-22 3:11 ` Sid Spry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200622011315.GA2450@waltdnes.org \
--to=waltdnes@waltdnes.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox