Skip to content

Commit

Permalink
run bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt-schesch committed Apr 28, 2024
1 parent ee560b4 commit 660ca8d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ OUT_DIR="results/$RUN_NAME"
N_MERGES=$3
CACHE_DIR="${4}"

# Check if it's run on MacOS, if yes raise an error
backend=$(uname -s)
if [ "$backend" = "Darwin" ]; then
echo "Error: MacOS is not supported. Please run the script on a Linux machine. This is due to the use of readarray in certain merge tools."
exit 1
fi

comparator_flags=""
no_timing=false
only_plotting=false
Expand Down Expand Up @@ -71,7 +78,7 @@ if [ -z "${machine_id:+isset}" ] ; then machine_id=0; fi
if [ -z "${num_machines:+isset}" ] ; then num_machines=1; fi

export JAVA_HOME=$JAVA17_HOME
./src/scripts/merge_tools/merging/gradlew shadowJar
./src/scripts/merge_tools/merging/gradlew -p src/scripts/merge_tools/merging shadowJar

echo "Machine ID: $machine_id"
echo "Number of machines: $num_machines"
Expand Down

0 comments on commit 660ca8d

Please sign in to comment.