Page MenuHomeFreeBSD

`make index' should use MAKE_JOBS_NUMBER / -jNN value
AbandonedPublic

Authored by wosch on Jul 20 2025, 1:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 10, 3:04 PM
Unknown Object (File)
Mon, Nov 3, 11:18 PM
Unknown Object (File)
Sun, Oct 26, 2:21 AM
Unknown Object (File)
Sun, Oct 19, 11:32 AM
Unknown Object (File)
Sun, Oct 19, 11:32 AM
Unknown Object (File)
Sun, Oct 19, 11:32 AM
Unknown Object (File)
Sat, Oct 18, 9:47 PM
Unknown Object (File)
Oct 2 2025, 10:23 AM
Subscribers

Details

Reviewers
None
Summary

I tried to build the INDEXFILE. The `make index' command uses all available CPUs. However, I cannot limit the number of CPUs with
`make -j3 index' to 3, or by setting the variable MAKE_JOBS_NUMBER=3

This patch allow use to specify the number of jobs with the command line parameter -j or the variable MAKE_JOBS_NUMBER

make -s PORTSDIR=$(pwd) INDEX_ECHO_1ST=true MAKE_JOBS_NUMBER=3 index
make -s PORTSDIR=$(pwd) INDEX_ECHO_1ST=true -j3 index

See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288349

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

wosch requested review of this revision.Jul 20 2025, 1:24 PM
wosch created this revision.
wosch added a subscriber: portmgr.

add forgotten check for .MAKE.JOBS