Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2010 20:03:32 +0100
From:      Michal Varga <varga.michal@gmail.com>
To:        Boris Kochergin <spawk@acm.poly.edu>
Cc:        Helmut Schneider <jumper99@gmx.de>, freebsd-ports@freebsd.org
Subject:   Re: How to upgrade perl 5.8 to 5.10?
Message-ID:  <3f1fd1ea1001201103m3c5225c9tbe8cec0f7e6b8562@mail.gmail.com>
In-Reply-To: <4B574E99.5070309@acm.poly.edu>
References:  <xn0gpdade8ge98a006@news.gmane.org> <3f1fd1ea1001200529h5a0e41b9kda9fc62410c3daa@mail.gmail.com> <xn0gpdc2a8ip9ik009@news.gmane.org> <3f1fd1ea1001200639p1faa623tc9cb01da75c0781@mail.gmail.com> <xn0gpddts8kyt3a00a@news.gmane.org> <3f1fd1ea1001200729j6ff63560n8906dbeb65a9e2e4@mail.gmail.com> <xn0gpdjd842udy000@news.gmane.org> <4B574E99.5070309@acm.poly.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
>>> Well, it's a dedicated blade after all :) And those 8 cores seem
>>> pretty nasty, I'm envious.
>>>
>>
>> Well, afaik I even cannot use more than one CPU when building ports.
>> There were plans/rumors that this would change. Does anyone know more
>> about it?
>>
Sure you can, as Boris (below) linked, this happened long time ago, especially:

"You don't need to do anything to enable the new feature. Whitelisted
ports will automatically make use of all processors available in your
computer."

Most large ports I have seen (and use) luckily take advantage of all
available processors during build (which completely sucks for desktop
systems, but then, you normally shouldn't do that on a station where
you try to work, so I'm fine with that). There's no way you'd be able
to build 450 ports in 45 minutes if you were using only one CPU/core.


> It has happened:
>
> http://lists.freebsd.org/pipermail/freebsd-ports/2009-March/053736.html
>
> I believe *dependencies* of a port will be compiled using one process (and
> thus CPU) at a time, however.
>
Interesting, are you sure this really happens? At least I understand
you mean that - let's say - when i choose to compile, i.e. www/webkit
directly, it will use all available processors (which it does, all the
time), but when I try to compile, say, www/epiphany, which pulls
www/webkit as a dependency, it will get built without MAKE_JOBS_SAFE,
locked to a single processor? I can test in a short while if that's
really the way, just asking, if I got you right..

m.



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