mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-09-27 09:53:45 +08:00
eefc084302
version: sunnypilot v2025.003.000 (dev) date: 2025-12-18T05:48:43 master commit: 16c052af0835f049a67b80251d8cc1114fc08bb4
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
|