Re: make -jN build with portmaster

2009-01-27 Thread Mel
On Monday 26 January 2009 09:14:21 cpghost wrote: > On Sun, Jan 25, 2009 at 10:41:05PM -0900, Mel wrote: > > On Sunday 25 January 2009 20:48:22 Doug Barton wrote: > > > Josh Carroll wrote: > > > > What I do is the following via make.conf, > > > > > > I think this is a good solution. Given that incr

Re: make -jN build with portmaster

2009-01-26 Thread Mel
On Monday 26 January 2009 14:56:10 Eitan Adler wrote: > > > > That would be absolutely perfect! > > +1 > > > > Memory may fail me, but wasn't there a GSoC project to parallelize > > the ports infrastructure? Or was that about building many different > > ports simultaneously instead of one port on

Re: make -jN build with portmaster

2009-01-26 Thread Eitan Adler
> That would be absolutely perfect! > +1 > Memory may fail me, but wasn't there a GSoC project to parallelize > the ports infrastructure? Or was that about building many different > ports simultaneously instead of one port on multiple cores? > > -cpghost. > http://wiki.freebsd.org/SummerOfCod

Re: make -jN build with portmaster

2009-01-26 Thread cpghost
On Sun, Jan 25, 2009 at 10:41:05PM -0900, Mel wrote: > On Sunday 25 January 2009 20:48:22 Doug Barton wrote: > > Josh Carroll wrote: > > > What I do is the following via make.conf, > > > > I think this is a good solution. Given that incredible foot-shooting > > power of the -j stuff I am not inclin

Re: make -jN build with portmaster

2009-01-25 Thread Mel
On Sunday 25 January 2009 20:48:22 Doug Barton wrote: > Josh Carroll wrote: > > What I do is the following via make.conf, > > I think this is a good solution. Given that incredible foot-shooting > power of the -j stuff I am not inclined to add something like this to > portmaster, not even as an "ad

Re: make -jN build with portmaster

2009-01-25 Thread Doug Barton
Josh Carroll wrote: > What I do is the following via make.conf, I think this is a good solution. Given that incredible foot-shooting power of the -j stuff I am not inclined to add something like this to portmaster, not even as an "advanced" option. Doug > which will work for > portmaster/portupg

Re: make -jN build with portmaster

2009-01-25 Thread RW
On Sun, 25 Jan 2009 23:46:54 +0100 cpghost wrote: > That's a good hint indeed. I'll try it. Maybe I'll modify it a bit to > include ONLY the "build" target, because -jN fails on nearly every > other target, AFAICS. Don't forget that there are two different makes; BSD make does the ports infrastr

Re: make -jN build with portmaster

2009-01-25 Thread cpghost
On Sun, Jan 25, 2009 at 05:22:04PM -0500, Josh Carroll wrote: > On Sun, Jan 25, 2009 at 4:44 PM, cpghost wrote: > > To build ports in parallel on a 4 core machine, I usually > > do this manually: > > > > # cd /usr/ports/some/port > > # make configure && make -j5 build && make install clean > > >

Re: make -jN build with portmaster

2009-01-25 Thread Josh Carroll
On Sun, Jan 25, 2009 at 4:44 PM, cpghost wrote: > To build ports in parallel on a 4 core machine, I usually > do this manually: > > # cd /usr/ports/some/port > # make configure && make -j5 build && make install clean > > because all steps except "make build" are not compatible > with -jN (some p

make -jN build with portmaster

2009-01-25 Thread cpghost
To build ports in parallel on a 4 core machine, I usually do this manually: # cd /usr/ports/some/port # make configure && make -j5 build && make install clean because all steps except "make build" are not compatible with -jN (some ports don't work with -jN in the "make build" phase either, bu