mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 18:53:55 +08:00
* Update Python packages
* fix opendbc
---------
Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 9b2cafe597
21 lines
442 B
Bash
Executable File
21 lines
442 B
Bash
Executable File
#!/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
|
|
|
|
# helpful commands:
|
|
# scons -Q --tree=derived
|
|
|
|
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
|