mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 18:42:07 +08:00
d254137f4c
Fix shebang. Fix LD_PRELOAD old-commit-hash: a4a0429fca82a79118238695a04d888498ca0376
13 lines
466 B
Bash
Executable File
13 lines
466 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
|
cd $DIR
|
|
|
|
if [ -f /TICI ]; then
|
|
export LD_LIBRARY_PATH="/usr/lib/aarch64-linux-gnu:/data/pythonpath/third_party/snpe/larch64:$LD_LIBRARY_PATH"
|
|
export ADSP_LIBRARY_PATH="/data/pythonpath/third_party/snpe/dsp/"
|
|
else
|
|
export LD_LIBRARY_PATH="$DIR/../../third_party/snpe/x86_64-linux-clang:$DIR/../../openpilot/third_party/snpe/x86_64:$LD_LIBRARY_PATH"
|
|
fi
|
|
exec ./_dmonitoringmodeld
|