aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/globalvars.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/globalvars.py b/src/globalvars.py
index 7bf3de7..6048f1c 100644
--- a/src/globalvars.py
+++ b/src/globalvars.py
@@ -19,13 +19,13 @@ allocbenchdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentf
allocbenchdir = os.path.dirname(allocbenchdir)
"""Path of the build directory"""
-builddir = "build"
+builddir = os.path.join(allocbenchdir, "build")
"""Directory were the benchmark results are stored"""
resdir = None
"""Source directory for all benchmarks"""
-benchsrcdir = "src/benchmarks"
+benchsrcdir = os.path.join(allocbenchdir, "src", "benchmarks")
"""List of available benchmarks"""
benchmarks = [e[:-3] for e in os.listdir(os.path.join(allocbenchdir, benchsrcdir))