mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-22 22:42:05 +08:00
6adb63b915
date: 2026-06-04T09:49:56 master commit: c0ab3550eca2e9daf197c46b7e4b24aa9637cf2e
21 lines
431 B
Bash
Executable File
21 lines
431 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
|
|
if ! scons -q; then
|
|
echo "FAILED: all build products not up to date after first pass."
|
|
exit 1
|
|
fi
|