cvs commit: ports/Tools/portbuild/scripts makeparallel

Kris Kennaway kris at
Wed Jul 14 01:47:04 PDT 2004

kris        2004-07-14 08:47:03 UTC

  FreeBSD ports repository

  Modified files:
    Tools/portbuild/scripts makeparallel 
  * 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

More information about the cvs-ports mailing list