CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/Tools/scripts/build_all.sh
Views: 1798
1
#!/usr/bin/env bash
2
# useful script to test all the different build types that we support.
3
# This helps when doing large merges
4
# Andrew Tridgell, November 2011
5
6
set -e
7
set -x
8
9
export BUILDROOT="/tmp/all.build"
10
rm -rf $BUILDROOT
11
12
BOARDS="sitl linux Pixhawk1"
13
14
for b in $BOARDS; do
15
echo "Testing $b build"
16
./waf configure --board $b
17
./waf clean
18
./waf
19
done
20
21
echo "Building Replay"
22
pushd Tools/Replay
23
make clean
24
make
25
popd
26
27
echo "Testing configure all"
28
./Tools/scripts/configure_all.py
29
30
exit 0
31
32