mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-01 03:22:07 +08:00
c7c49e8e35
* unlogger: send yuv stream * fix up model test tools * fix unlogger * rename model replay * bump cereal * test in actions * no ci for now old-commit-hash: cf6d133638caac0d974209f92be9c200cdbcbf3f
16 lines
513 B
Bash
Executable File
16 lines
513 B
Bash
Executable File
#!/bin/sh
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
|
|
|
if [ -d /system ]; then
|
|
if [ -f /TICI ]; then # QCOM2
|
|
export LD_LIBRARY_PATH="/usr/lib/aarch64-linux-gnu:/data/pythonpath/phonelibs/snpe/larch64:$LD_LIBRARY_PATH"
|
|
else # QCOM
|
|
export LD_LIBRARY_PATH="/data/pythonpath/phonelibs/snpe/aarch64/:$LD_LIBRARY_PATH"
|
|
fi
|
|
else
|
|
# PC
|
|
export LD_LIBRARY_PATH="$DIR/../../phonelibs/snpe/x86_64-linux-clang:$DIR/../..//openpilot/phonelibs/snpe/x86_64:$LD_LIBRARY_PATH"
|
|
fi
|
|
exec ./_modeld
|