Skip to content

Commit

Permalink
I needed this so finally hooked up lldb to genn-buildmodel -d
Browse files Browse the repository at this point in the history
  • Loading branch information
James Knight committed Apr 28, 2022
1 parent a53cbca commit d411dd9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/genn-buildmodel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ BASEDIR=$(dirname "$0")
make -j $CORE_COUNT -C $BASEDIR/../src/genn/generator -f $GENERATOR_MAKEFILE $MACROS

if [[ -n "$DEBUG" ]]; then
gdb -tui --args "$GENERATOR" "$BASEDIR/../" "$OUT_PATH" "$FORCE_REBUILD"
if [[ $(uname) == "Darwin" ]]; then
lldb -f "$GENERATOR" "$BASEDIR/../" "$OUT_PATH" "$FORCE_REBUILD"
else
gdb -tui --args "$GENERATOR" "$BASEDIR/../" "$OUT_PATH" "$FORCE_REBUILD"
fi
else
"$GENERATOR" "$BASEDIR/../" "$OUT_PATH" "$FORCE_REBUILD"
fi
Expand Down

0 comments on commit d411dd9

Please sign in to comment.