aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/benchmark.py4
1 files changed, 4 insertions, 0 deletions
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())