summaryrefslogtreecommitdiff
path: root/benchmarks/heapsort
diff options
context:
space:
mode:
authorjlam <jlam>2003-07-16 09:33:46 +0000
committerjlam <jlam>2003-07-16 09:33:46 +0000
commite664449b954368894a4fd85edc962c90bc7b4903 (patch)
tree491111004206c0c3cb92ae9f1dd439e854e373be /benchmarks/heapsort
parentf6cad14a16265838094c96c2784856bdf35df1a9 (diff)
downloadpkgsrc-e664449b954368894a4fd85edc962c90bc7b4903.tar.gz
Initial work in merging bits of the pkgviews branch into modern pkgsrc.
Currently, the pkgviews/buildlink2 integration is incomplete. People who work on this branch should also check out src/usr.sbin/pkg_install from the pkgviews branch.
Diffstat (limited to 'benchmarks/heapsort')
-rw-r--r--benchmarks/heapsort/DESCR15
-rw-r--r--benchmarks/heapsort/Makefile30
-rw-r--r--benchmarks/heapsort/PLIST2
-rw-r--r--benchmarks/heapsort/distinfo4
4 files changed, 0 insertions, 51 deletions
diff --git a/benchmarks/heapsort/DESCR b/benchmarks/heapsort/DESCR
deleted file mode 100644
index 32ef5d9360d..00000000000
--- a/benchmarks/heapsort/DESCR
+++ /dev/null
@@ -1,15 +0,0 @@
-Based on the Heap Sort code in 'Numerical Recipes in C' by William H.
-Press, Brian P. Flannery, Saul A. Teukolsky, and William T. Vetterling,
-Cambridge University Press, 1990, ISBN 0-521-35465-X.
-
-The MIPS rating is based upon the program run time (runtime) for one
-iteration and a gcc 2.1 unoptimized (gcc -DUNIX) assembly dump count of
-instructions per iteration for a i486 machine (assuming 80386 code). This
-is the reference used.
-
-The maximum amount of memory allocated is based on the 'imax' variable in
-main(). Memory size = (2000*sizeof(long))*2^imax. imax is currently set to
-8, but this value may be increased or decreased depending upon your system
-memory limits. For standard Intel PC CPU machines a value of imax = 3 must
-be used else your system may crash or hang up despite code in the program
-to prevent this.
diff --git a/benchmarks/heapsort/Makefile b/benchmarks/heapsort/Makefile
deleted file mode 100644
index 36bfa697252..00000000000
--- a/benchmarks/heapsort/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-# $NetBSD: Makefile,v 1.9 2003/03/29 12:40:11 jmmv Exp $
-
-DISTNAME= heapsort.c
-PKGNAME= heapsort-1.0
-WRKSRC= ${WRKDIR}
-CATEGORIES= benchmarks
-MASTER_SITES= ftp://ftp.nosc.mil/pub/aburto/heapsort/
-EXTRACT_SUFX= #empty
-
-MAINTAINER= root@garbled.net
-COMMENT= benchmark program for variable sized arrays
-
-do-extract:
- ${MKDIR} ${WRKSRC}
- ${CP} ${DISTDIR}/heapsort.c ${WRKSRC}/heapsort.c
-
-do-build:
- (cd ${WRKSRC} ; ${CC} ${CFLAGS} -DUNIX -o heapsort heapsort.c -lm)
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/heapsort ${PREFIX}/bin
-
-benchmark:
- -@${WRKSRC}/heapsort | tee ${WRKSRC}/heapsort.out
-
-results:
- @${MKDIR} /tmp/benches/`domainname`
- -@${CP} ${WRKSRC}/heapsort.out /tmp/benches/`domainname`/heapsort.`uname`-`uname -m`-`uname -r`.`hostname`
-
-.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/heapsort/PLIST b/benchmarks/heapsort/PLIST
deleted file mode 100644
index 04c8814383d..00000000000
--- a/benchmarks/heapsort/PLIST
+++ /dev/null
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:45:20 zuntum Exp $
-bin/heapsort
diff --git a/benchmarks/heapsort/distinfo b/benchmarks/heapsort/distinfo
deleted file mode 100644
index d96c7754401..00000000000
--- a/benchmarks/heapsort/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 09:13:25 agc Exp $
-
-SHA1 (heapsort.c) = 78d6ee3715a6250213b948bf7450b53520811e4c
-Size (heapsort.c) = 17563 bytes