Reorder SUBDIR list slightly to give parallel scans a change to run trunk
authorjoerg <joerg@pkgsrc.org>
Tue, 19 Jun 2007 13:39:56 +0000
branchtrunk
changeset 114448 47ae94758ff1
parent 114447 f161fe66cdef
child 114449 5fb4ea299dc7
Reorder SUBDIR list slightly to give parallel scans a change to run the very slow jobs in x11 when other jobs are available for processing. Some packages need up to 10min for pbulk-index on my build system and the reorder reduces the overall scan time with 4 clients from 35min to 30min. Discussed with jlam@.
Makefile
--- a/Makefile	Tue Jun 19 13:31:01 2007 +0000
+++ b/Makefile	Tue Jun 19 13:39:56 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.81 2007/02/20 22:46:32 agc Exp $
+# $NetBSD: Makefile,v 1.82 2007/06/19 13:39:56 joerg Exp $
 #
 # This is the top-level Makefile of pkgsrc. It contains a list of the
 # categories of packages, as well as some targets that operate on the
@@ -45,6 +45,10 @@
 SUBDIR+=	${GROUP_SPECIFIC_PKGS}
 SUBDIR+=	${USER_SPECIFIC_PKGS}
 .else
+# Package in the x11 category tend to require a lot more parse time
+# than the rest of the packages. Reorder it to the beginning to avoid
+# stalling parallel scans near the end of a run.
+SUBDIR+=	x11
 SUBDIR+=	archivers
 SUBDIR+=	audio
 SUBDIR+=	benchmarks
@@ -87,7 +91,6 @@
 SUBDIR+=	time
 SUBDIR+=	wm
 SUBDIR+=	www
-SUBDIR+=	x11
 .endif
 
 SUBDIR+=	${USER_ADDITIONAL_PKGS}