|
|
@ -1,4 +1,5 @@ |
|
|
|
#!/usr/bin/env bash |
|
|
|
#!/usr/bin/env bash |
|
|
|
|
|
|
|
set -e |
|
|
|
|
|
|
|
|
|
|
|
SCRIPT_DIR=$(dirname "$0") |
|
|
|
SCRIPT_DIR=$(dirname "$0") |
|
|
|
BASEDIR=$(realpath "$SCRIPT_DIR/../../") |
|
|
|
BASEDIR=$(realpath "$SCRIPT_DIR/../../") |
|
|
@ -6,5 +7,11 @@ cd $BASEDIR |
|
|
|
|
|
|
|
|
|
|
|
# tests that our build system's dependencies are configured properly, |
|
|
|
# tests that our build system's dependencies are configured properly, |
|
|
|
# needs a machine with lots of cores |
|
|
|
# needs a machine with lots of cores |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cd $BASEDIR/opendbc_repo/ |
|
|
|
scons --clean |
|
|
|
scons --clean |
|
|
|
scons --no-cache --random -j$(nproc) |
|
|
|
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 |
|
|
|