Date: Tue, 15 Mar 2011 22:07:07 -0500 From: Eitan Adler <lists@eitanadler.com> To: John <lists@reiteration.net> Cc: freebsd-ports@freebsd.org Subject: Re: can make -j be used for ports? Message-ID: <AANLkTimS1Cc_gM2WJ5hRNTZN1aBcmmAe7dk9PRnMTqEf@mail.gmail.com> In-Reply-To: <4D802299.1020303@reiteration.net> References: <4D7FBC0E.5020302@reiteration.net> <1468BFDD-5E3C-4756-830B-266D0942AED0@mac.com> <AANLkTi=xECg6s7HGeoJFQs96EGwS1tN0Ag6FgFO30QzM@mail.gmail.com> <4D802299.1020303@reiteration.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> 1. I want to know if there is perhaps a conf file or sysctl where I can > specify this *for ports only.* - if not I'm happy to specify on the > command line. It's just that the manual is a tad unclear about this. Yes - simply install ports as normal: specifically unless you specifically tell the ports system otherwise you will be the maximum amount of supported parallelization. .if defined(MAKE_JOBS_SAFE) || defined(FORCE_MAKE_JOBS) MAKE_JOBS_NUMBER?= `${SYSCTL} -n kern.smp.cpus` _MAKE_JOBS?= -j${MAKE_JOBS_NUMBER} causes ports to be build with the proper number of jobs for your system. If you wish to override this number change MAKE_JOBS_NUMBER. DO NOT manually set -j when running make install from the ports directory. It will only hurt, -- Eitan Adler
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimS1Cc_gM2WJ5hRNTZN1aBcmmAe7dk9PRnMTqEf>