From 4835035d2d61523ef16cd23c0504b5a4f66ab0aa Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Mon, 24 May 2021 16:52:14 -0400 Subject: [PATCH] chore: remove zombie scripts --- .../applications/ocr/by_dpi/debug.sh | 19 ------------------- .../applications/ocr/by_font/debug.sh | 19 ------------------- 2 files changed, 38 deletions(-) delete mode 100755 runtime/experiments/applications/ocr/by_dpi/debug.sh delete mode 100755 runtime/experiments/applications/ocr/by_font/debug.sh diff --git a/runtime/experiments/applications/ocr/by_dpi/debug.sh b/runtime/experiments/applications/ocr/by_dpi/debug.sh deleted file mode 100755 index 879d485..0000000 --- a/runtime/experiments/applications/ocr/by_dpi/debug.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -# Executes the runtime in GDB -# Substitutes the absolute path from the container with a path relatively derived from the location of this script -# This allows debugging outside of the Docker container -# Also disables pagination and stopping on SIGUSR1 - -experiment_directory=$(pwd) -project_directory=$(cd ../../../.. && pwd) -binary_directory=$(cd "$project_directory"/bin && pwd) - -export LD_LIBRARY_PATH="$binary_directory:$LD_LIBRARY_PATH" -export PATH="$binary_directory:$PATH" - -gdb --eval-command="handle SIGUSR1 nostop" \ - --eval-command="handle SIGPIPE nostop" \ - --eval-command="set pagination off" \ - --eval-command="set substitute-path /sledge/runtime $project_directory" \ - --eval-command="run $experiment_directory/spec.json" \ - sledgert diff --git a/runtime/experiments/applications/ocr/by_font/debug.sh b/runtime/experiments/applications/ocr/by_font/debug.sh deleted file mode 100755 index 879d485..0000000 --- a/runtime/experiments/applications/ocr/by_font/debug.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -# Executes the runtime in GDB -# Substitutes the absolute path from the container with a path relatively derived from the location of this script -# This allows debugging outside of the Docker container -# Also disables pagination and stopping on SIGUSR1 - -experiment_directory=$(pwd) -project_directory=$(cd ../../../.. && pwd) -binary_directory=$(cd "$project_directory"/bin && pwd) - -export LD_LIBRARY_PATH="$binary_directory:$LD_LIBRARY_PATH" -export PATH="$binary_directory:$PATH" - -gdb --eval-command="handle SIGUSR1 nostop" \ - --eval-command="handle SIGPIPE nostop" \ - --eval-command="set pagination off" \ - --eval-command="set substitute-path /sledge/runtime $project_directory" \ - --eval-command="run $experiment_directory/spec.json" \ - sledgert