From aacac233340f1889bcfb53dd66f29e66cc4e89c0 Mon Sep 17 00:00:00 2001 From: Andrea Somaini Date: Fri, 16 Aug 2024 17:57:37 +0200 Subject: [PATCH] Use absolute path for docker volume binding --- .../compare_compilers_static_stats/run_benchmarks.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/artifact_evaluation/compare_compilers_static_stats/run_benchmarks.sh b/scripts/artifact_evaluation/compare_compilers_static_stats/run_benchmarks.sh index 8a59934..3edab56 100644 --- a/scripts/artifact_evaluation/compare_compilers_static_stats/run_benchmarks.sh +++ b/scripts/artifact_evaluation/compare_compilers_static_stats/run_benchmarks.sh @@ -1,10 +1,13 @@ #!/bin/bash set -e -# cd to script's directory +# cd to script's directory, and then root of project cd "$(dirname "$0")" +cd .. +cd .. +cd .. -proj_root="../../.." +proj_root="$(pwd)" # STEP1: Build container docker build -t cicero_compilers_benchmarks $proj_root/cicero_compiler_cpp/Docker