Date: Wed, 14 Jul 2004 08:47:03 +0000 (UTC) From: Kris Kennaway <kris@FreeBSD.org> To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: ports/Tools/portbuild/scripts makeparallel Message-ID: <200407140847.i6E8l3ZQ097453@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kris 2004-07-14 08:47:03 UTC FreeBSD ports repository Modified files: Tools/portbuild/scripts makeparallel Log: * Break out the 'parallel' target from /usr/ports/Makefile. One advantage is that here we know the value of PKGSUFFIX (.tgz/.tbz) for the build via buildenv. * Add a list of 'quickports', which are ports with long dependency chains that we should kick off straight away to try and avoid bottlenecks later on when most of the cluster idles waiting for one or two ports to build. Ideally we'd build dependencies of these ports exclusively first and only build other ports when we run out (i.e. a build slot becomes free), but I couldn't work out how to do this. As a compromise, we now do 'make -k -j<#> quickports all' which doesn't give quite as high a priority to the quickports (i.e. we also build other ports from the beginning while there are quickport dependencies still to build), but is better than nothing. * Pass in the FETCH/EXTRACT/PATCH/BUILD/RUN_DEPENDS separately via env variables when dispatching a job. This allows us to add and remove the dependencies at the corresponding build stage to catch ports with dependencies listed too early/late. Revision Changes Path 1.2 +40 -6 ports/Tools/portbuild/scripts/makeparallel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407140847.i6E8l3ZQ097453>