On Sun, Jun 21, 2020, at 8:13 PM, Walter Dnes wrote: > 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. >
I did set this. It seems to be ignored. The llvm/clang portions of the build do abide by them but part of the build still runs out of memory.