summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-06-19 13:39:56 +0000
committerjoerg <joerg@pkgsrc.org>2007-06-19 13:39:56 +0000
commit974e9912acb6860073365958c2f1993c9c7470e5 (patch)
tree6ec7a2b21521fca85709831665ad4d3cc973b270
parent63423cc7a56156da330975a61dc849a0c91e7c5f (diff)
downloadpkgsrc-974e9912acb6860073365958c2f1993c9c7470e5.tar.gz
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@.
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4fe291d28c2..4980f304486 100644
--- a/Makefile
+++ b/Makefile
@@ -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+= ${HOST_SPECIFIC_PKGS}
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+= textproc
SUBDIR+= time
SUBDIR+= wm
SUBDIR+= www
-SUBDIR+= x11
.endif
SUBDIR+= ${USER_ADDITIONAL_PKGS}