aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2009-08-23 23:30:24 +0800
committerlinimon <linimon@FreeBSD.org>2009-08-23 23:30:24 +0800
commit40aca8b4a82952cece9f8d258202883f4aa00523 (patch)
treec513818ba247346d40c0d8a5d27199e4d3c73cb9 /Tools
parentdcb0b040e60bd229234a5cc5e000c689840e422b (diff)
downloadfreebsd-ports-gnome-40aca8b4a82952cece9f8d258202883f4aa00523.tar.gz
freebsd-ports-gnome-40aca8b4a82952cece9f8d258202883f4aa00523.tar.zst
freebsd-ports-gnome-40aca8b4a82952cece9f8d258202883f4aa00523.zip
I believe that this script is obsolete. Retire it.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/makeparallel75
1 files changed, 0 insertions, 75 deletions
diff --git a/Tools/portbuild/scripts/makeparallel b/Tools/portbuild/scripts/makeparallel
deleted file mode 100755
index 4d71090bd7eb..000000000000
--- a/Tools/portbuild/scripts/makeparallel
+++ /dev/null
@@ -1,75 +0,0 @@
-#!/bin/sh
-
-pb=/var/portbuild
-
-if [ $# -ne 3 ]; then
- echo "usage: makeparallel arch branch buildid"
- exit 1
-fi
-
-arch=$1
-branch=$2
-buildid=$3
-shift 3
-
-. ${pb}/${arch}/portbuild.conf
-. ${pb}/scripts/buildenv
-
-buildid=$(resolve ${pb} ${arch} ${branch} ${buildid})
-if [ -z "${buildid}" ]; then
- echo "Invalid build ID ${buildid}"
- exit 1
-fi
-
-builddir=${pb}/${arch}/${branch}/builds/${buildid}
-
-buildenv ${pb} ${arch} ${branch} ${builddir}
-
-# packages that take a long time to build or have very deep dependency
-# trees and tend to stall the rest of the cluster waiting for them.
-# We try to start these as early as possible.
-
-quickports="lang/ghc x11/xorg x11/gnome2 x11/kde3 java/jdk14 java/jdk15 java/jdk16 editors/openoffice.org-2 editors/openoffice.org-2-RC editors/openoffice.org-2-devel editors/openoffice.org-3 editors/openoffice.org-3-RC editors/openoffice.org-3-devel"
-
-cd ${PORTSDIR}
-subdir=$(make -V SUBDIR)
-makefile=${builddir}/Makefile
-rm ${makefile}
-
-SUBDIR=$(make -V SUBDIR)
-(for dir in ${SUBDIR}; do
- [ -r ${dir}/Makefile ] && echo "all: ${dir}-all" || true
-done
-env arch=${arch} branch=${branch} buildid=${buildid} awk -F '|' '{me=$1; here=$2; bdep=$8; rdep=$9
- edep=$11; pdep=$12; fdep=$13
- sufx=ENVIRON["PKGSUFFIX"]
- arch=ENVIRON["arch"]
- buildid=ENVIRON["buildid"]
- branch=ENVIRON["branch"]
- split(here, tmp, "/")
- if (edep != "") { gsub("$", sufx, edep); gsub(" ", sufx " ", edep) }
- if (pdep != "") { gsub("$", sufx, pdep); gsub(" ", sufx " ", pdep) }
- if (fdep != "") { gsub("$", sufx, fdep); gsub(" ", sufx " ", fdep) }
- if (bdep != "") { gsub("$", sufx, bdep); gsub(" ", sufx " ", bdep) }
- if (rdep != "") { gsub("$", sufx, rdep); gsub(" ", sufx " ", rdep) }
- print tmp[4] "-all: " me sufx
- print me ": " me sufx
- print me sufx ": " edep " " pdep " " fdep " " bdep " " rdep
- printf("\t@/usr/bin/env XXX=\"\" ")
- if (edep != "") printf(" ED=\"%s\"", edep)
- if (pdep != "") printf(" PD=\"%s\"", pdep)
- if (fdep != "") printf(" FD=\"%s\"", fdep)
- if (bdep != "") printf(" BD=\"%s\"", bdep)
- if (rdep != "") printf(" RD=\"%s\"", rdep)
- printf(" /var/portbuild/scripts/pdispatch %s %s %s /var/portbuild/scripts/portbuild %s%s %s\n",
- arch, branch, buildid, me, sufx, here)
- }' < ${INDEXFILE}) > ${makefile}
-
-for i in ${quickports}; do
- if [ -d $i ]; then
- quickpkg="$(cd $i; make package-name)${PKGSUFFIX}"
- echo "quickports: $quickpkg" >> ${makefile}
- else
- echo "quick port directory \"$i\" does not exist -- skipping"
- fi
-done