summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorgarbled <garbled@pkgsrc.org>1998-08-30 19:38:57 +0000
committergarbled <garbled@pkgsrc.org>1998-08-30 19:38:57 +0000
commit82a712d223bb211b71dab8c37880a7f3c8a5e306 (patch)
tree4cad2a4095084f85052772d56f98d21ec251b01f /benchmarks
parent67fcc12ec0235649d7d058da43bd563568892076 (diff)
downloadpkgsrc-82a712d223bb211b71dab8c37880a7f3c8a5e306.tar.gz
Add new pkg for paranoia.
a highly paranoid test of IEEE 754 conformancy.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/paranoia/Makefile23
-rw-r--r--benchmarks/paranoia/files/md53
-rw-r--r--benchmarks/paranoia/pkg/COMMENT1
-rw-r--r--benchmarks/paranoia/pkg/DESCR5
-rw-r--r--benchmarks/paranoia/pkg/PLIST2
5 files changed, 34 insertions, 0 deletions
diff --git a/benchmarks/paranoia/Makefile b/benchmarks/paranoia/Makefile
new file mode 100644
index 00000000000..7b0af5965d6
--- /dev/null
+++ b/benchmarks/paranoia/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 1998/08/30 19:38:57 garbled Exp $
+
+DISTNAME= paranoia
+PKGNAME= paranoia-960101
+CATEGORIES= benchmarks
+MASTER_SITES= http://www.netlib.org/paranoia/
+EXTRACT_SUFX= .c
+
+MAINTAINER= root@garbled.net
+
+NO_WRKSUBDIR= yes
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ ${CP} ${DISTDIR}/paranoia.c ${WRKSRC}/paranoia.c
+
+do-build:
+ (cd ${WRKSRC} ; cc -o paranoia paranoia.c -lm)
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/paranoia ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/paranoia/files/md5 b/benchmarks/paranoia/files/md5
new file mode 100644
index 00000000000..0ecfc28e7e8
--- /dev/null
+++ b/benchmarks/paranoia/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1 1998/08/30 19:38:57 garbled Exp $
+
+MD5 (paranoia.c) = 8a9a935b59e148b6581e66f15920003e
diff --git a/benchmarks/paranoia/pkg/COMMENT b/benchmarks/paranoia/pkg/COMMENT
new file mode 100644
index 00000000000..272ae9f0835
--- /dev/null
+++ b/benchmarks/paranoia/pkg/COMMENT
@@ -0,0 +1 @@
+a highly paranoid test of IEEE 754 conformancy.
diff --git a/benchmarks/paranoia/pkg/DESCR b/benchmarks/paranoia/pkg/DESCR
new file mode 100644
index 00000000000..385ec806b2c
--- /dev/null
+++ b/benchmarks/paranoia/pkg/DESCR
@@ -0,0 +1,5 @@
+test a computer's floating-point arithmetic, C, 31 July 1986
+
+Please understand, this test really is paranoia, it is known to
+report failures on i386 when compiled with -O2. Don't get
+overly upset about the results it spits out.
diff --git a/benchmarks/paranoia/pkg/PLIST b/benchmarks/paranoia/pkg/PLIST
new file mode 100644
index 00000000000..502fb9987d8
--- /dev/null
+++ b/benchmarks/paranoia/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 1998/08/30 19:38:58 garbled Exp $
+bin/paranoia