Re: Packages using more than their assigned MAKE_JOBS

Thomas Klausner <[email protected]>
Newsgroups gmane.os.netbsd.devel.packages
Message-ID <[email protected]>
On Thu, Aug 06, 2026 at 10:40:11PM +0100, Jonathan Perkin wrote:
> I've been doing some bob performance work and figured I'd get an LLM to
> analyse bob's CPU history and logs to figure out which packages are getting
> way more out of their assigned MAKE_JOBS than they should be.  Here's what
> it found:
...
>   py31x-zensical                      4         7.8     1.9x

This uses maturin to build.

maturin supports the standard -j flag, but the ~10 tries I did for
passing this down to it through py-build were unsuccessful.

However, cargo does honor CARGO_BUILD_JOBS, so adding that to the
build environment works (MAKE_ENV).

Should we just do that in lang/rust/cargo.mk instead of the -j in the
DEFAULT_CARGO_ARGS?
 Thomas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.