reorder install
remove unneeded package
make install verbose
add environment variable to control what to install
register STM toolchain on CCache
Tools: install-prereqs-ubuntu.sh: only update package list once
Tools: install-prereqs-ubuntu.sh: move STM toolchain registery into install step
Tools: install-prereqs-ubuntu.sh: use right comparison for variable value
Tools: install-prereqs-ubuntu.sh: always check for libtool-bin
Tools: install-prereqs-ubuntu.sh: Add support for Ubuntu 20.04
Add a selection for python version
ass python symlink for ubuntu 20.04
Move python-argparse out of default list as it install python2 version
Tools: install-prereqs-ubuntu.sh:Tools: Check python version for python3 distro
Tools: install-prereqs-ubuntu.sh: install pygame requirements
Tools: install-prereqs-ubuntu.sh: check for docker envirement and use .bashrc instead of .profile
Tools: install-prereqs-ubuntu.sh: add bash completion by default
Tools: install-prereqs-ubuntu.sh: better ccache management
Tools: install-prereqs-ubuntu.sh: Correct package installation for trusty
first, "apt install gcovr lcov" as new prerequisites
then run:
./waf configure --enable-gcov
./waf build --lcov-report
and after much waiting review the report in HTML format with your preferred browser eg:
firefox reports/lcov-report/index.html
Since we escape $PATH, we can't just try to export that way. Since PATH
is unset if we do this, we end up with things like :
./Tools/scripts/install-prereqs-ubuntu.sh: line 101: apt-cache: command
not found
If we are running the script, we are likely inside the repository, in
which case the script would fail while searching for a directory named
ardupilot. Derive the root directory from the script location.
ubuntu@ubuntu-xenial:~/ardupilot$ ./Tools/scripts/install-prereqs-ubuntu.sh
./Tools/scripts/install-prereqs-ubuntu.sh: line 19: python-wxgtk3.0: command not found
While at each, change to use lsb_release like the other scripts.
The realpath tool may be missing on a Ubuntu distro and we use it in
sim_vehicle.sh. Make sure it's also installed as part of sitl packages.
On Archlinux it's part of the coreutils package which is part of the
base group. Therefore it's guaranteed to be available.
Fix#2730.