Skip to content

Commit

Permalink
Tools: use parallel builds in build_all.sh
Browse files Browse the repository at this point in the history
saves developer time. Most devs have multi-core machines now
  • Loading branch information
Andrew Tridgell committed Jan 7, 2013
1 parent acff432 commit b042da4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tools/scripts/build_all.sh
Expand Up @@ -11,7 +11,7 @@ pushd ArduPlane
for b in all apm2 apm2beta apm1-hil apm1-hilsensors apm2-hil apm2-hilsensors sitl sitl-mount sitl-newcontrollers; do
pwd
make clean
make $b
make $b -j4
done
popd

Expand All @@ -20,7 +20,7 @@ pushd ArduCopter
for b in all apm2 apm2beta apm1-hil apm2-hil sitl heli dmp; do
pwd
make clean
make $b
make $b -j4
done
popd

Expand All @@ -29,7 +29,7 @@ pushd APMrover2
for b in all apm2 sitl; do
pwd
make clean
make $b
make $b -j4
done
popd

Expand All @@ -39,7 +39,7 @@ examples="Tools/VARTest Tools/CPUInfo"
for d in $examples; do
pushd $d
make clean
make
make -j4
popd
done

Expand Down

0 comments on commit b042da4

Please sign in to comment.