Re: Speedup for make clean-depends (and thus make clean)

2007-06-18 Thread Pav Lucistnik
Alexander Leidinger píše v po 18. 06. 2007 v 12:05 +0200: > Quoting Alexander Leidinger <[EMAIL PROTECTED]> (from Tue, 22 > May 2007 09:26:58 +0200): > > > Quoting Jeremy Lea <[EMAIL PROTECTED]> (from Mon, 21 May 2007 15:28:16 > > -0700): > > > >> Hi, > >> > >> On Mon, May 21, 2007 at 10:20:26A

Re: Speedup for make clean-depends (and thus make clean)

2007-06-18 Thread Alexander Leidinger
Quoting Alexander Leidinger <[EMAIL PROTECTED]> (from Tue, 22 May 2007 09:26:58 +0200): Quoting Jeremy Lea <[EMAIL PROTECTED]> (from Mon, 21 May 2007 15:28:16 -0700): Hi, On Mon, May 21, 2007 at 10:20:26AM +0200, Alexander Leidinger wrote: I tried to do the WRKDIR and _DEPEND_DIRS part in

Re: Speedup for make clean-depends (and thus make clean)

2007-05-22 Thread Alexander Leidinger
Quoting Jeremy Lea <[EMAIL PROTECTED]> (from Mon, 21 May 2007 15:28:16 -0700): Hi, On Mon, May 21, 2007 at 10:20:26AM +0200, Alexander Leidinger wrote: I tried to do the WRKDIR and _DEPEND_DIRS part in one go myself, but it was slower than the patch I did post (in the case where all dirs are a

Re: Speedup for make clean-depends (and thus make clean)

2007-05-21 Thread Jeremy Lea
Hi, On Mon, May 21, 2007 at 10:20:26AM +0200, Alexander Leidinger wrote: > I tried to do the WRKDIR and _DEPEND_DIRS part in one go myself, but > it was slower than the patch I did post (in the case where all dirs > are already clean). But I did use another implementation, I did a "set > --

Re: Speedup for make clean-depends (and thus make clean)

2007-05-21 Thread Alexander Leidinger
Quoting Yoshihiro Ota <[EMAIL PROTECTED]> (from Mon, 21 May 2007 00:12:38 -0400): This is the fastest one. It is about O(1) and takes a couple of seconds to delete files whether millions or billions. [using a FS just for WRKDIRs] Yes, without any doupt this is very fast. Unfortunately

Re: Speedup for make clean-depends (and thus make clean)

2007-05-21 Thread Alexander Leidinger
Quoting Jeremy Lea <[EMAIL PROTECTED]> (from Sun, 20 May 2007 19:13:13 -0700): Hi, On Sun, May 20, 2007 at 09:01:49AM +0200, Alexander Leidinger wrote: I could write such a new target, e.g. limited-clean, which could be used with update tools if there's some interest in something like this fro

Re: Speedup for make clean-depends (and thus make clean)

2007-05-20 Thread Yoshihiro Ota
This is the fastest one. It is about O(1) and takes a couple of seconds to delete files whether millions or billions. 1.) Set WRKDIRPREFIX like WRKDIRPREFIX=/ports in /etc/make.conf 2.) Give a device to it. It could be via mdconfig as well. For example, "mount /dev/ad0s2c /ports" 3.) Build whi

Re: Speedup for make clean-depends (and thus make clean)

2007-05-20 Thread Jeremy Lea
Hi, On Sun, May 20, 2007 at 09:01:49AM +0200, Alexander Leidinger wrote: > I could write such a new target, e.g. limited-clean, which could be used > with update tools if there's some interest in something like this from > the author of such a tool. The patch below should get you going on this.

Re: Speedup for make clean-depends (and thus make clean)

2007-05-20 Thread Doug Barton
Alexander Leidinger wrote: I could write such a new target, e.g. limited-clean, which could be used with update tools if there's some interest in something like this from the author of such a tool. Once again, I appreciate all the effort that's going into thinking about this stuff. :) For p