diff options
author | jlam <jlam> | 2003-07-16 09:33:46 +0000 |
---|---|---|
committer | jlam <jlam> | 2003-07-16 09:33:46 +0000 |
commit | e664449b954368894a4fd85edc962c90bc7b4903 (patch) | |
tree | 491111004206c0c3cb92ae9f1dd439e854e373be /benchmarks/nsieve | |
parent | f6cad14a16265838094c96c2784856bdf35df1a9 (diff) | |
download | pkgsrc-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/nsieve')
-rw-r--r-- | benchmarks/nsieve/DESCR | 9 | ||||
-rw-r--r-- | benchmarks/nsieve/Makefile | 30 | ||||
-rw-r--r-- | benchmarks/nsieve/PLIST | 2 | ||||
-rw-r--r-- | benchmarks/nsieve/distinfo | 4 |
4 files changed, 0 insertions, 45 deletions
diff --git a/benchmarks/nsieve/DESCR b/benchmarks/nsieve/DESCR deleted file mode 100644 index d8608a822f7..00000000000 --- a/benchmarks/nsieve/DESCR +++ /dev/null @@ -1,9 +0,0 @@ -This Sieve of Eratosthenes program works with variable size arrays. It is -a straight forward extension of the original Gilbreath version ( -Gilbreath, Jim. "A High-Level Language Benchmark." BYTE, September 1981, -p. 180, and also Gilbreath, Jim and Gary. "Eratosthenes Revisited: Once -More Through the Sieve." BYTE January 1983, p. 283 ). Unlike the Sieve of -Gilbreath, NSIEVE uses register long variables, pointers,and large byte -arrays via 'malloc()'. Maximum array size is currently set at 2.56 MBytes -but this can be increased or decreased by changing the program LIMIT -constant. diff --git a/benchmarks/nsieve/Makefile b/benchmarks/nsieve/Makefile deleted file mode 100644 index cd4b018600e..00000000000 --- a/benchmarks/nsieve/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# $NetBSD: Makefile,v 1.9 2003/03/29 12:40:12 jmmv Exp $ - -DISTNAME= nsieve.c -PKGNAME= nsieve-1.2b -WRKSRC= ${WRKDIR} -CATEGORIES= benchmarks -MASTER_SITES= ftp://ftp.nosc.mil/pub/aburto/nsieve/ -EXTRACT_SUFX= #empty - -MAINTAINER= root@garbled.net -COMMENT= Sieve of Eratosthenes benchmark - -do-extract: - ${MKDIR} ${WRKSRC} - ${CP} ${DISTDIR}/nsieve.c ${WRKSRC}/nsieve.c - -do-build: - (cd ${WRKSRC} ; ${CC} ${CFLAGS} -DUNIX -o nsieve nsieve.c -lm) - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/nsieve ${PREFIX}/bin - -benchmark: - -@${WRKSRC}/nsieve | tee ${WRKSRC}/nsieve.out - -results: - @${MKDIR} /tmp/benches/`domainname` - -@${CP} ${WRKSRC}/nsieve.out /tmp/benches/`domainname`/nsieve.`uname`-`uname -m`-`uname -r`.`hostname` - -.include "../../mk/bsd.pkg.mk" diff --git a/benchmarks/nsieve/PLIST b/benchmarks/nsieve/PLIST deleted file mode 100644 index 259bb05e444..00000000000 --- a/benchmarks/nsieve/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.1 2001/10/31 23:45:34 zuntum Exp $ -bin/nsieve diff --git a/benchmarks/nsieve/distinfo b/benchmarks/nsieve/distinfo deleted file mode 100644 index e16dbd2c1fa..00000000000 --- a/benchmarks/nsieve/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -$NetBSD: distinfo,v 1.2 2001/04/20 09:13:27 agc Exp $ - -SHA1 (nsieve.c) = 003ec02c832fc2e53810d85451f178d194b80d93 -Size (nsieve.c) = 22452 bytes |