mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 19:23:56 +08:00
* git mv to third_party
* find and replace
* fix release tests
* update pre-commit
* update tici bins
* update eon bins
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 5b641379ae
18 lines
607 B
Bash
Executable File
18 lines
607 B
Bash
Executable File
#!/bin/sh
|
|
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
|
cd $DIR
|
|
|
|
if [ -d /system ]; then
|
|
if [ -f /TICI ]; then # QCOM2
|
|
export LD_LIBRARY_PATH="/usr/lib/aarch64-linux-gnu:/data/pythonpath/third_party/snpe/larch64:$LD_LIBRARY_PATH"
|
|
else # QCOM
|
|
export LD_LIBRARY_PATH="/data/pythonpath/third_party/snpe/aarch64/:$LD_LIBRARY_PATH"
|
|
fi
|
|
export ADSP_LIBRARY_PATH="/data/pythonpath/third_party/snpe/dsp/"
|
|
else
|
|
# PC
|
|
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
|