From c1a3c9a7aada8f1db00aefb3a0a21f596d4423c5 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 11 Sep 2019 17:23:31 +0200 Subject: add build_dir member to Benchmark objects --- src/benchmark.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/benchmark.py b/src/benchmark.py index 6fa3d34..c8e1584 100644 --- a/src/benchmark.py +++ b/src/benchmark.py @@ -92,6 +92,10 @@ class Benchmark: if not hasattr(self, "result_dir"): self.result_dir = os.path.abspath(os.path.join(src.globalvars.resdir, self.name)) + # Set build_dir + if not hasattr(self, "build_dir"): + self.build_dir = os.path.abspath(os.path.join(src.globalvars.builddir, + "benchmarks", self.name)) self.Perm = namedtuple("Perm", self.args.keys()) -- cgit v1.2.3