Skip to content

Commit c302f91

Browse files
committed
run-vers to clean up before execution
1 parent 3059786 commit c302f91

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

run-vers.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,15 @@ case $MODE in
8585
;;
8686
esac
8787

88+
# Clean and create output directory
89+
FINAL_OUTPUT_DIR="target/benchmark-vers"
90+
rm -rf "$FINAL_OUTPUT_DIR"
91+
mkdir -p "$FINAL_OUTPUT_DIR"
92+
8893
# Create temporary directory for results (survives mvn clean)
8994
TEMP_OUTPUT_DIR=$(mktemp -d)
9095
echo "Using temporary directory: ${TEMP_OUTPUT_DIR}"
9196

92-
# Final output directory
93-
FINAL_OUTPUT_DIR="target/benchmark-vers"
94-
9597
# JVM flags for Java 9+ module system compatibility
9698
JVM_OPTS="--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.lang.reflect=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED --add-exports java.base/jdk.internal.misc=ALL-UNNAMED --add-exports java.base/sun.nio.ch=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --enable-native-access=ALL-UNNAMED"
9799

0 commit comments

Comments
 (0)