openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for over 200 supported car makes and models.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
651 B

#!/usr/bin/bash -e
# runs on tici to create a prebuilt version of a release
set -ex
BUILD_DIR=$1
cd $BUILD_DIR
# Build
export PYTHONPATH="$BUILD_DIR"
if [ -n "$RELEASE" ]; then
rm -f panda/board/obj/panda.bin.signed
rm -f panda/board/obj/panda_h7.bin.signed
1 year ago
export CERT=/data/pandaextra/certs/release
fi
1 year ago
scons -j$(nproc)
# Cleanup
find . -name '*.a' -delete
find . -name '*.o' -delete
find . -name '*.os' -delete
find . -name '*.pyc' -delete
find . -name 'moc_*' -delete
find . -name '__pycache__' -delete
rm -rf .sconsign.dblite Jenkinsfile release/
rm selfdrive/modeld/models/supercombo.onnx
# Mark as prebuilt release
touch prebuilt