summaryrefslogtreecommitdiff
path: root/benchmarks/hbench/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/hbench/patches/patch-ac')
-rw-r--r--benchmarks/hbench/patches/patch-ac12
1 files changed, 6 insertions, 6 deletions
diff --git a/benchmarks/hbench/patches/patch-ac b/benchmarks/hbench/patches/patch-ac
index 612200f4c8d..88fb8119f70 100644
--- a/benchmarks/hbench/patches/patch-ac
+++ b/benchmarks/hbench/patches/patch-ac
@@ -1,17 +1,17 @@
-$NetBSD: patch-ac,v 1.4 2005/04/12 01:00:42 rillig Exp $
+$NetBSD: patch-ac,v 1.5 2005/11/05 19:47:51 kristerw Exp $
---- scripts/create-all-latgraphs.orig Mon Nov 15 14:15:28 1999
-+++ scripts/create-all-latgraphs Mon Nov 15 14:15:28 1999
-@@ -36,10 +36,7 @@
+--- scripts/create-all-latgraphs.orig 1997-06-27 02:37:14.000000000 +0200
++++ scripts/create-all-latgraphs 2005-11-05 20:39:31.000000000 +0100
+@@ -35,6 +35,3 @@
+
-# Step 1: Discover hbench root path
-HBENCHROOT=`(cd \`dirname $0\`/.. ; pwd)`
-
-for dir in */*
+for dir in @PREFIX@/share/hbench/*/*
do
- if [ -d $dir -a -d ${dir}/lat_mem_rd ]; then
+@@ -42,3 +39,3 @@
echo "Generating latency graph for $dir..."
- ${HBENCHROOT}/scripts/gen-latgraph -ps ${dir}/lat_mem_rd
+ @PREFIX@/bin/hbench/gen-latgraph -ps ${dir}/lat_mem_rd
fi
- done