X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=run%2Fdcpomatic_cli;h=02d80a57499e19dbab14bb7807ab809b0b1d4f1d;hb=70b923d244255cc1425f0ade4b3d280e07da7038;hp=e1c0ebd1485e1bf232326447f306e43c7bfb77f3;hpb=3fe5cabf752fc6c87f6fbc453dfcd642655faed0;p=dcpomatic.git diff --git a/run/dcpomatic_cli b/run/dcpomatic_cli index e1c0ebd14..02d80a574 100755 --- a/run/dcpomatic_cli +++ b/run/dcpomatic_cli @@ -1,6 +1,6 @@ #!/bin/bash -export LD_LIBRARY_PATH=build/src/lib:$LD_LIBRARY_PATH:build/src +export LD_LIBRARY_PATH=build/src/lib:build/src:/home/c.hetherington/lib:$LD_LIBRARY_PATH if [ "$1" == "--debug" ]; then shift gdb --args build/src/tools/dcpomatic2_cli "$@" @@ -8,6 +8,9 @@ elif [ "$1" == "--valgrind" ]; then shift valgrind --tool="memcheck" --num-callers=24 --suppressions=suppressions build/src/tools/dcpomatic2_cli "$@" # valgrind --tool="memcheck" --leak-check=full --show-reachable=yes --num-callers=24 --suppressions=suppressions build/src/tools/dcpomatic2_cli "$@" +elif [ "$1" == "--callgrind" ]; then + shift + valgrind --tool="callgrind" build/src/tools/dcpomatic2_cli "$@" else build/src/tools/dcpomatic2_cli "$@" fi