INDEX_JOBS currently defaults to 2 for the make index target.
MAKE_JOBS_NUMBER in bsd.port.mk currently uses kern.smp.cpus to select a default.
Modify INDEX_JOBS to match.
Differential D381
Default INDEX_JOBS to kern.smp.cpus Authored by koobs on Jul 9 2014, 2:58 AM. Tags None Referenced Files
Details INDEX_JOBS currently defaults to 2 for the make index target. MAKE_JOBS_NUMBER in bsd.port.mk currently uses kern.smp.cpus to select a default. Modify INDEX_JOBS to match. System is a virtualized (Virtualbox) FreeBSD guest: 9.2-STABLE FreeBSD 9.2-STABLE #1 r264519 GENERIC INDEX_JOBS=2 - 9m30.02s real 14m57.61s user 3m20.82s sys (default) IO (ZFS), CPU and Memory utilisation is nominal (not saturated) during the runs: NAME PROPERTY VALUE SOURCE
Diff Detail
Event TimelineComment Actions Perhaps you need: .if !defined (INDEX_JOBS) so that the sysctl is only called when you define the value rather than each time INDEX_JOBS is referenced. I could be completely wrong here though. This comment was removed by koobs. |