summaryrefslogtreecommitdiff
path: root/benchmarks/hbench/patches/patch-ac
blob: 88fb8119f70f7ae4d5b48b09accd2f921d5984bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ac,v 1.5 2005/11/05 19:47:51 kristerw Exp $

--- 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
@@ -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