mirror of
https://github.com/zebrajr/SamRewritten.git
synced 2025-12-06 12:19:51 +01:00
13 lines
376 B
Bash
Executable File
13 lines
376 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCRIPT_PATH=$(dirname "$(realpath "$0")")
|
|
export LD_LIBRARY_PATH=${SCRIPT_PATH}
|
|
|
|
# Workaround waiting for a fix https://github.com/lloyd/yajl/issues/222
|
|
export LC_NUMERIC=en_US.UTF-8
|
|
|
|
cd "${SCRIPT_PATH}"/..
|
|
rm -f /tmp/sam-massif.out
|
|
valgrind --tool=massif --massif-out-file=/tmp/sam-massif.out ${SCRIPT_PATH}/samrewritten $@
|
|
massif-visualizer /tmp/sam-massif.out
|