V.Chukharev wrote:
On Fri, 25 Jul 2008 16:09:10 +0300, V.Chukharev <[EMAIL PROTECTED]> wrote:

On Fri, 25 Jul 2008 07:30:18 +0300, Dirk Meyer <[EMAIL PROTECTED]> wrote:

So you are right that make index could be otimized,
but it will take much more work.
Totally agree on this. I tryed to make caching in bsd.subdir.mk as Kris
proposed, and I got also considerable speedup, but not as good as
with the first patch. The grep on all packages is done once per port
category. I miss how to pass the results to a child make...

Anyway, I attach the new (better, but still not fully working) patch JFYI.

Well, I've found how to pass params to a child make. So the next version of the
patch comes at the end of this post.

This patch should work well for index builds, but I have big doubts about
all the rest. Please review and test if possible.

With the patch Mk/bsd.port.sudir.mk .include's Mk/bsd.openssl.mk, hence 
everywhere
when the former is used the latter is inderectly included. This is because I did not want to split the openssl staff into two parts. I put some protection.

You don't want to .include the file, just use the same make -f trick that I used for e.g. the python and java variable caching.

Kris
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to