Page MenuHomeFreeBSD

`make index' should use MAKE_JOBS_NUMBER / -jNN value
Needs ReviewPublic

Authored by wosch on Jul 20 2025, 1:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 2, 10:23 AM
Unknown Object (File)
Sat, Sep 27, 10:26 PM
Unknown Object (File)
Sat, Sep 20, 3:16 PM
Unknown Object (File)
Sep 13 2025, 10:34 PM
Unknown Object (File)
Sep 8 2025, 10:20 AM
Unknown Object (File)
Sep 8 2025, 3:30 AM
Unknown Object (File)
Aug 23 2025, 4:07 PM
Unknown Object (File)
Aug 3 2025, 9:21 AM
Subscribers
This revision needs review, but there are no reviewers specified.

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