Re: MAKE_JOBS_ARG

Greg Troxel <[email protected]> Sun, 26 Jul 2026 08:27:19 -0400
Newsgroups gmane.os.netbsd.devel.packages
Message-ID <[email protected]>
Jonathan Perkin <[email protected]> writes:

> Some packages such as openjdk have custom methods for specifying
> parallel builds.  Currently they use what I consider to be a bodge
> where MAKE_JOBS_SAFE=no is set and then they append MAKE_JOBS
> manually.  This is simply to avoid the default BUILD_MAKE_CMD
> hardcoding "-jN".

> This isn't compatible with bob's dynamic scheduler, which uses
> MAKE_JOBS_SAFE in its purest form where "no" means to not assign the
> package multiple jobs, and thus openjdk* currently get MAKE_JOBS=1.

More importantly it's wrong, vs it not fitting with bob :-)


I think that's fine.  I didn't really like the proposed MAKE_JOBS_ARG
name but I can't think of anything better.