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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Jul 2025 06:24:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288349

--- Comment #2 from Wolfram Schneider <wosch@FreeBSD.org> ---
(In reply to Mathieu Arnold from comment #1)

I think the order to set the job number for the index target should be:

1. on the command line with -jNN

2. the variable MAKE_JOBS_NUMBER, as documented in the ports framework

Mk/bsd.port.mk
# MAKE_JOBS_NUMBER
#                               - Override the number of make jobs to be used. 
User settable.

3. the variable INDEX_JOBS (not documented)

4. a readable default value (NPROC)

This patch is about adding 1) and 2).

Maybe INDEX_JOBS has a higher priority than MAKE_JOBS_NUMBER, but given that it
is undocumented i put after MAKE_JOBS_NUMBER

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