Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jul 2006 13:25:29 +0200
From:      "[LoN]Kamikaze" <LoN_Kamikaze@gmx.de>
To:        Sergey Matveychuk <sem@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: portinstall breaks with -m "-j 4"
Message-ID:  <44C20B29.30308@gmx.de>
In-Reply-To: <44C2096E.4080701@FreeBSD.org>
References:  <44C1F68E.80601@gmx.de> <44C2096E.4080701@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


Sergey Matveychuk wrote:
> [LoN]Kamikaze wrote:
>> When a port installs dependencies prior to building and the -j flag is set for make, portupgrade somehow breaks installing dependencies. If I simply do
>>
>> # cd /usr/ports/category/port
>> # make install -j 4
>>
>> it works fine, but the command
>>
>> # portinstall category/port -m '-j 4'
>>
>> does not work if dependencies have to be installed. I have tried to get some insight in this and it seems that the ports depended on simply head to the do-install target, omitting things like do-extract, do-patch and do-build.
>>
>> The cause is a mystery to me, though.
> 
> -j is not supported for ports.
> 

Well, it should be, with all the multi-core CPUs coming. And all other targets work fine with -j. It's solely the install target that's broken.

Is there any reason why it is not supported?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44C20B29.30308>