From 130765de719a3ddc475284e13749d09ff371a8e1 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 1 Feb 2019 16:35:20 +0100 Subject: rework build system #1 each benchmark has its own Makefile which must put it's binaries into OBJDIR which is added to the PATH during execution. --- src/falsesharing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/falsesharing.py') diff --git a/src/falsesharing.py b/src/falsesharing.py index 57acf06..6c4ddc0 100644 --- a/src/falsesharing.py +++ b/src/falsesharing.py @@ -16,14 +16,14 @@ class Benchmark_Falsesharing( Benchmark ): on the same cache line the writes will be expensive because of cache thrashing.""" - self.cmd = "build/cache-{bench}{binary_suffix} {threads} 100 8 1000000" + self.cmd = "cache-{bench}{binary_suffix} {threads} 100 8 1000000" self.args = { "bench" : ["thrash", "scratch"], "threads" : range(1, multiprocessing.cpu_count() * 2 + 1) } - self.requirements = ["build/cache-thrash", "build/cache-scratch"] + self.requirements = ["cache-thrash", "cache-scratch"] super().__init__() def process_output(self, result, stdout, stderr, target, perm, verbose): -- cgit v1.2.3