Peter Barker
e8fc5b9552
Tools: add set -x to install-prereqs scripts
2016-11-07 08:17:41 +11:00
mirkix
0638ec7dfe
Tools: add pkg-config-arm-linux-gnueabihf package
2016-11-03 17:29:44 -03:00
mirkix
25f6d29d97
Tools: rename BEBOP to generic ARM_LINUX
2016-11-03 17:29:44 -03:00
Grant Morphett
705f96dd3e
Build: More changes as we move to WAF
...
The only example being built in build_all.sh was CPUInfo and that is
really an APM tool. It will get built further down in when
autotest.py calls build.Examples so we don't need to build it here.
And changing the Replay build to just call make which really means it
will invoke waf as that's what the makefile does.
2016-11-02 15:14:30 -03:00
Lucas De Marchi
0c1f2ba144
scripts: add cmake to install-prereq scripts
2016-10-31 09:49:40 -07:00
Jani Hirvinen
c99a4a6973
Update build_autotest.sh
2016-10-31 19:53:29 +11:00
Peter Barker
729765bd30
Tools: correct firmware-version.txt file creation
2016-10-25 17:00:43 +11:00
Peter Barker
90979b6db5
Tools: skip malformed firmware-version.txt files
2016-10-25 17:00:43 +11:00
Peter Barker
b9270712e4
Tools: fix manifest generation (skip files.html)
2016-10-25 17:00:43 +11:00
Andrew Tridgell
10638d72a7
Tools: useful plane run script
2016-10-25 17:00:03 +11:00
Andrew Tridgell
bd0d37e2fd
Tools: added cmake to ububtu prereqs install
...
this fixes waf build for ubuntu 14.04 LTS
2016-10-20 16:29:51 +11:00
Pierre Kancir
10c3d82c67
Tools: update ci install script
2016-10-16 13:02:48 -02:00
Pierre Kancir
f7d19a6cd7
Tools: update ubuntu install script
2016-10-16 13:02:48 -02:00
Pierre Kancir
59366b058a
Tools: update ci install script
2016-10-15 09:23:10 -03:00
Pierre Kancir
2942b1b56d
Tools: update arch install script
2016-10-15 09:23:10 -03:00
Pierre Kancir
08cf58a027
Tools: update ubuntu install script
2016-10-15 09:23:10 -03:00
Lucas De Marchi
041ec327a2
ci: add ~/.local/bin to PATH
...
In semaphoreci it doesn't have ~/.local/bin by default on path making
us not able to find the mavproxy.py executable.
2016-10-14 18:58:58 -03:00
Andrew Tridgell
a5c9fb56af
Tools: updated arch install script
2016-10-12 21:41:19 +11:00
Andrew Tridgell
b66c3d3915
Tools: added lxml and future for ubuntu users
2016-10-12 21:40:48 +11:00
Andrew Tridgell
7041d2587b
Travis: added dependency on python future and lxml
2016-10-11 06:42:22 +11:00
Peter Barker
084862a999
Tools: build_ci.sh: make target not required in Replay directory
2016-09-19 12:56:42 +10:00
Andrew Tridgell
c9435963c8
autotest: use ArduPilot mavlink tree
2016-09-19 08:44:32 +10:00
Andrew Tridgell
2d2ed7b06e
autotest: added autobuild of disco
2016-09-15 19:57:32 +10:00
Andrew Tridgell
65bcead1bd
autotest: build bebop static in build_binaries.sh
2016-09-15 19:56:27 +10:00
Andrew Tridgell
6e2c600fe7
autotest: make px4-clean between px4 builds
...
avoids an issue where vehicle object files are re-used from other
targets
2016-09-05 18:22:01 +10:00
Andrew Tridgell
d529b5e3b8
autotest: build each set of px4 binaries separately
2016-09-05 12:43:52 +10:00
Lucas De Marchi
46be2cf026
Tools: build_binaries: fix generation of firmware-version.txt
...
For waf builds we build from root directory.
2016-08-13 17:44:38 -03:00
Lucas De Marchi
cd333cb43a
Tools: build_binaries: fix check for wrong file
...
We get the version from version.h not APM_Config.h.
2016-08-13 17:44:38 -03:00
Lucas De Marchi
a511f97971
Tools: build_binaries: fix inverted condition
2016-08-11 09:01:43 -03:00
Lucas De Marchi
80b04ecb41
scripts: update command with sim_vehicle.py
2016-08-10 17:00:09 -03:00
Lucas De Marchi
53968e5d78
Tools: build_binaries: add bebop to arducopter-quad
2016-08-10 11:12:54 +09:00
Lucas De Marchi
6553e428c0
Tools: build_binaries: add navio/navio2 to antennatracker
2016-08-10 11:12:52 +09:00
Lucas De Marchi
6e9686a16b
Tools: build_binaries: use waf for Linux boards
2016-08-10 11:12:50 +09:00
Tom Pittenger
ed7af8c717
scripts: Add libc6-i386 to px4 package install.
...
Fixes https://github.com/ArduPilot/ardupilot/issues/4316
2016-06-16 08:06:06 -07:00
Peter Barker
eb0e3c993d
Tools: build_examples.sh implemented in terms of build_examples.py
2016-06-04 12:33:15 -03:00
Peter Barker
8cf49d4e3e
Tools: create build_examples.py, a replacement for build_examples.sh
2016-06-04 12:33:14 -03:00
Francisco Ferreira
501284f65a
ci: remove clang temporarily from APT packages
2016-05-31 19:25:51 +01:00
Andrew Tridgell
475579e8ff
autotest: skip build of boards we don't support
...
this prevents us trying to build for boards like navio2 for
ArduCopter-stable which didn't support that board
2016-05-30 08:25:10 +10:00
Francisco Ferreira
ec0a80b6f4
ci: increase ccache size
...
make based builds require more space
insert exception for sitltest
2016-05-25 22:14:47 -03:00
Francisco Ferreira
fe0c49ec54
ci: only run make builds for PX4 or when it is a scheduled job
...
Let waf figure out how many jobs to run
2016-05-25 11:39:07 -03:00
Francisco Ferreira
292251e2aa
ci: add time to complete make builds
2016-05-25 11:38:59 -03:00
Francisco Ferreira
a74a7e5dfe
ci: update ccache and improve its support
...
Update ccache to 3.2.5
Set ccache size
Display ccache statistics for each build
Disable ccache for configure phase
Export ccache bin path
travis: remove ccache stats before saving cache
2016-05-25 11:38:51 -03:00
Lucas De Marchi
92411402b6
Tools: remove support for flymaple
2016-05-23 21:49:45 -03:00
Francisco Ferreira
f7f90546d1
ci: build PX4 with waf again
2016-05-18 15:36:48 -03:00
Francisco Ferreira
efc3f5058b
ci: simplify build script
2016-05-11 22:48:03 -03:00
Lucas De Marchi
f04b954a1c
build_binaries.sh: fix typo on rebase
2016-05-10 14:34:30 -03:00
Lucas De Marchi
06f5a3ac39
build_binaries.sh: replace tabs with spaces
2016-05-10 14:32:47 -03:00
abilbaotm
9814955eef
Update build_binaries.sh
2016-05-10 14:31:36 -03:00
LanderU
df84cde3e6
Added erlebrain2 in build_binaries.sh
2016-05-10 14:28:22 -03:00
Lucas De Marchi
b07acea6b6
Tools: get version exclusively from version.h
2016-05-07 22:55:48 -03:00
Staroselskii Georgii
2b77bc02bf
build: add navio 2 target to build server
2016-04-29 16:48:36 -03:00
Staroselskii Georgii
1605e34f7d
Tools: added Navio 2 build to CI
...
This way Navio 2 will be built on Travis.
2016-04-29 16:48:36 -03:00
Luis Vale Gonçalves
a3698e7da7
Revising ardupilot.com to .org
...
Revising ardupilot.com to .org
2016-04-23 22:49:46 -07:00
Lucas De Marchi
b8cb88092f
Tools: install-prereqs-ubuntu: fix exporting PATH
...
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
2016-04-19 00:14:09 -03:00
Lucas De Marchi
0fae368635
Tools: install-prereqs-ubuntu: allow to run from repository
...
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.
2016-04-19 00:14:09 -03:00
Lucas De Marchi
757f48ff83
Tools: install-prereqs-ubuntu: fix return code checking
...
We are running the script with -e so we can't check the return code like
that.
2016-04-19 00:14:09 -03:00
Lucas De Marchi
4c6dac2d5d
Tools: install-prereqs-ubuntu: install python-setuptools
2016-04-19 00:14:09 -03:00
Lucas De Marchi
03f5362538
Tools: install-prereqs-ubuntu: remove 32-bit variants
...
These are not necessary and cause trouble in Ubuntu 16.04.
2016-04-19 00:14:09 -03:00
Lucas De Marchi
1a24a3174f
Tools: install-prereqs-ubuntu: fix string concatenation
...
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.
2016-04-19 00:14:09 -03:00
Andre Kjellstrup
b6b593b6fb
Tools: install-prereqs-ubuntu: update for Ubuntu 16.x
...
No older versions of Ubuntu is affected by this script.
2016-04-19 00:14:09 -03:00
Francisco Ferreira
0f69b49ff1
ci: add ccache to clang builds
2016-04-17 14:47:55 -03:00
Francisco Ferreira
95343255e1
ci: use updated version of ccache
2016-04-17 14:47:55 -03:00
Francisco Ferreira
b5faf9c361
ci: allow build systems to use ccache more efficiently
2016-04-17 14:47:55 -03:00
Francisco Ferreira
25f9832717
ci: split configure script between installing APT packages and other configurations
2016-04-17 14:47:55 -03:00
Andrew Tridgell
8408428339
travis: disable px4 builds in waf for now
...
they are broken by the PX4Firmware merge
2016-04-14 08:05:06 +10:00
Andrew Tridgell
fa36d6cac1
Travis: added force-yes to try to fix build
2016-04-12 05:56:27 +10:00
Peter Barker
009bb7fa9c
build_binaries: regenerate manifest after building binaries
2016-04-05 09:05:57 +10:00
Peter Barker
d7977dfcc2
Tools/scripts/generate-manifest.py: json description of binaries directory
2016-04-05 09:05:57 +10:00
Andrew Tridgell
27934a893e
autotest: raise timeout again
...
after trying lots of other things to speed up build_binaries.sh it
still isn't fast enough, so this just raises the timeout by 50%
2016-04-02 07:47:16 +11:00
Andrew Tridgell
72e4ed5665
autotest: no need to check other repos now
...
we don't need to check other repos now we use submodules for all code
2016-04-01 09:44:33 +11:00
Andrew Tridgell
36ef4d422c
Revert "autotest: added a temporary web bug"
...
It has done its job, and we now know the IP of the old server
2016-04-01 08:10:02 +11:00
Andrew Tridgell
20cd06da09
autotest: added a temporary web bug
...
(we need to find IP of old autotest server)
2016-03-31 15:22:09 +11:00
Andrew Tridgell
e90edd0abc
autotest: build in a constant directory
...
this gives a much higher hit rate in ccache
2016-03-30 09:01:24 +11:00
Andrew Tridgell
e0a465f8f4
autotest: added some parallelism to px4 build in build_binaries
2016-03-30 07:45:11 +11:00
Andrew Tridgell
af68fa94c0
autotest: fixed build_binaries.sh script bug
2016-03-29 15:39:08 +11:00
Andrew Tridgell
2806171839
autotest: use recursive forced update in build_binaries.sh
2016-03-28 15:01:01 +11:00
Andrew Tridgell
df765f0d43
autotest: raise lock timeout
2016-03-26 19:28:04 +11:00
Peter Barker
39ab0e5b7d
autotest: buildand retain version files
2016-03-25 21:02:40 +11:00
Andrew Tridgell
dea708b368
Tools: switch to ardupilot.org for firmware and autotest
2016-03-25 16:46:11 +11:00
Francisco Ferreira
4643c7bf9e
travis: add Clang builds
...
PX4 isn't supported at the moment and sitltest always use GCC, so we include the only ones that build
Travis has old LLVM installed and old Clang in a strange path (not a package) which interfere with the use of clang-3.7
2016-03-20 00:17:02 -03:00
Francisco Ferreira
dd93f62bdd
ci: fix PATH export
2016-03-20 00:17:02 -03:00
Francisco Ferreira
34de26502d
ci: add Clang package
...
Use flags to tell Waf what compiler to use
Don't use Make build system if compiler is Clang
2016-03-20 00:17:02 -03:00
Peter Barker
48f7aa1556
Tools: build_parameters.sh also stashes Parameters.rst
2016-03-17 18:16:10 +11:00
Peter Barker
6a44cb244d
Tools: factor build_parameters.sh
2016-03-17 18:16:10 +11:00
Lucas De Marchi
df150cd8dd
ci: add missing ppa for Trusty
...
Thanks Francisco Ferreira.
2016-03-14 18:48:03 -03:00
Lucas De Marchi
02619b4a25
ci: install cmake >= 3.2
...
Also remove the -qq from the call to apt-get install so it's easier to
debug failures in future.
2016-03-14 14:55:22 -03:00
Grant Morphett
0d9a3840d8
autotest: Added submodule update and removed old modules update
...
Firstly build.All was failing as the submodules had not been updated
so the 'git submodule update' in this commit resovles that.
Secondly, now that the dependant projects like PX4Firmware etc are git
submodules of ardupilot we no longer need to check them out separately
and update them so I have removed all those.
I left MAVProxy as it isn't a submodule of ardupilot.
2016-03-08 11:40:48 +11:00
Fredrik Hedberg
e88e8835b1
Tools: Use GCC 4.9 as an Ubuntu prereq as older version is no longer available.
2016-02-29 16:58:48 -03:00
Andrew Tridgell
15945c50cb
scripts: ensure we have clean build for px4
2016-02-24 19:33:16 +11:00
Gustavo Jose de Sousa
38da32853a
ci: use --enable-benchmarks in waf configure
2016-02-22 15:36:48 -03:00
Andrew Tridgell
119cf6bb13
ci: added sitltest target
...
this adds some basic SITL testing to our CI
2016-02-22 12:34:32 +11:00
Gustavo Jose de Sousa
7b0a6d301d
ci: use command 'all' instead of 'build' for waf
...
The command build uses 'bin' programs group by default. By using the command
'all', we tell the build system to build all programs.
2016-02-01 14:08:39 -02:00
Lucas De Marchi
36d669a2ab
ci: switch linux/sitl compiler to 4.9
2016-01-20 14:19:08 -02:00
Lucas De Marchi
1cd20c50a6
ci: integrate ccache configuration
...
Also split the exportline setting to allow one PATH per line.
2016-01-20 14:19:07 -02:00
Ricardo de Almeida Gonzaga
c8d01f4bf4
ci: add configure-ci.sh
...
In order to use it in Travis and in Semaphore.
2016-01-20 14:19:07 -02:00
Ricardo de Almeida Gonzaga
0db54e7b36
ci: change TRAVIS_BUILD_TARGET to CI_BUILD_TARGET on build_ci.sh
2016-01-20 14:19:07 -02:00
Ricardo de Almeida Gonzaga
e816a4845a
ci: rename build_all_travis.sh to build_ci.sh
...
Since we're going to support SemaphoreCI[1] besides Travis.
[1] - https://semaphoreci.com/
2016-01-20 14:19:07 -02:00
Andrew Tridgell
c2a12b55a0
scripts: raise max lockage in autotest
2016-01-20 07:43:43 +11:00
Andrew Tridgell
b8c6bee132
autotest: raise overall timeout
2016-01-20 07:42:29 +11:00
Andrew Tridgell
15c8a27d5e
scripts: added some debug to travis script
2016-01-20 07:42:28 +11:00