can make -j be used for ports?

Chuck Swiger cswiger at
Tue Mar 15 20:08:00 UTC 2011


[ ...followups sent to freebsd-ports@ list... ]

On Mar 15, 2011, at 12:20 PM, John wrote:
> I am no expert on make, so, here goes:
> Can -j options be used for make when building ports?

Yes.  Ports which support parallel builds will have MAKE_JOBS_SAFE=yes set in the port Makefile.  It defaults to running -j with MAKE_JOBS_NUMBER=`${SYSCTL} -n kern.smp.cpus`, but you can change that to some other # if you like.


More information about the freebsd-questions mailing list