Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Jan 2011 17:33:40 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        RW <rwmaillists@googlemail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: error while compile port
Message-ID:  <alpine.BSF.2.00.1101081729540.48213@wonkity.com>
In-Reply-To: <20110108233740.322f7665@gumby.homeunix.com>
References:  <66353398.20110108234322@yandex.ru> <20110108220931.000061d2@unknown> <20110108233740.322f7665@gumby.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 8 Jan 2011, RW wrote:

> On Sat, 8 Jan 2011 22:09:31 +0000
> Bruce Cran <bruce@cran.org.uk> wrote:
>
>> On Sat, 8 Jan 2011 23:43:22 +0200
>> ??????? ??????? <kes-kes@yandex.ru> wrote:
>>
>>> cd /usr/ports/<any>/<port>
>>> make -j 16 install
>>
>> Don't do that then :)
>>
>> Ports which are marked MAKE_JOBS_SAFE will automatically be built
>> using -j as far as I know.
>
>
> They are also doing very different things. MAKE_JOBS_SAFE applies -j to
> GNU make, which is invoked to do the actual compiling of
> third-party software. make -j 16 install applies -j to BSD make, which
> is used to implement the ports system itself.

gmake isn't used by every port, AFAIK.  But I can't quite come up with a 
clear way of saying that I think -j applies to the top-level make (the 
one running the ports system) while MAKE_JOBS_SAFE/MAKE_JOBS_NUMBER is 
applied to the make(s) actually building the port.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1101081729540.48213>