[Bug 288349] `make index' should use MAKE_JOBS_NUMBER / -jNN value

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 20 Jul 2025 13:45:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288349

            Bug ID: 288349
           Summary: `make index' should use MAKE_JOBS_NUMBER / -jNN value
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: wosch@FreeBSD.org
                CC: ports-bugs@FreeBSD.org

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.