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.

18 lines
395 B

#!/usr/bin/env bash
set -e
SCRIPT_DIR=$(dirname "$0")
BASEDIR=$(realpath "$SCRIPT_DIR/../../")
cd $BASEDIR
# tests that our build system's dependencies are configured properly,
# needs a machine with lots of cores
cd $BASEDIR/opendbc_repo/
scons --clean
scons --no-cache --random -j$(nproc)
if ! scons -q; then
echo "FAILED: all build products not up to date after first pass."
exit 1
fi