parallel builds revisited
mail at maxlor.com
Thu Apr 12 03:44:19 UTC 2007
On Tuesday 10 April 2007 19:44, Pav Lucistnik wrote:
> Benjamin Lutz píše v út 10. 04. 2007 v 04:52 +0200:
> > Some time ago, after buying a Core 2 Duo system, I've become
> > interested in doing something about the inherent
> > single-threadedness of the ports. Even though I have a dualcore
> > machine, ports builds only ever use one core. I started thinking
> > about various approaches to introduce parallelism to ports builds
> > and wrote down my thoughts here:
> > http://marc.info/?l=freebsd-ports&m=116124997126657&w=2
> I have same thoughts, and I wrote about it on Project Ideas page.
> That text materialized into a Summer of Code proposal, which is most
> probably going to get funded. So stay tuned. However, the proposal
> concentrates mainly on allowing several ports to build in parallel.
Is there any detailed information available on what's planned here that
isn't in your description on SoC page?
> Yes, a whitelist approach looks best.
> > 3) Save this to /usr/local/etc/parallel_builds.conf:
> > http://www.maxlor.com/temp/parallel_builds.conf .
> > This is a list of ports as stored in PKGORIGIN, or as
> > pkg_info -o reports them.
> I was thinking about having it embedded in every port's Makefile
> directly, instead. Something like
> USE_MAKE_JOBS= 2
Yes, that's what I had in mind as a final goal too. Having a single file
whitelist is useful though, since you don't have to patch hundreds of
makefiles while the whole thing is being tested and developed.
> I have great interest in this development. This is a highly desirable
> feature to have.
Me too. Could you keep me in the loop on how the SoC project progresses?
Seeing how that's concentrating on inter-port-parallelism, I think I'll
continue to work on intra-port-parallelism for a bit.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070412/0c0a5171/attachment.pgp
More information about the freebsd-ports