Re: MAKE_JOBS_ARG

Greg Troxel <[email protected]> Sun, 26 Jul 2026 08:25:16 -0400
Newsgroups gmane.os.netbsd.devel.packages
Message-ID <[email protected]>
Edgar Fu=C3=9F <[email protected]> writes:

>> I'd like to introduce a better mechanism, currently named MAKE_JOBS_ARG,
>> where packages can set this to "no" which prunes the default "-jN" but t=
hey
>> are still marked as supporting parallel builds.
> Would it make sense to have a var that defaults to "-j$MAKE_JOBS" (or wha=
tever=20
> make magic would be needed), that can be unset or set to whatever the pac=
kage=20
> needs?

That assumes that all packages have the concept of an argument that is
passed to the main build operation.   It's messier than that, and is
handled in various ways.=20=20

jperkin's proposal is the smaller step of just decoupling
MAKE_JOBS_SAFE, which will become just about the semantics of parallel,
and the old behavior where asking for parallel led to a -jN argument.