mirror of https://github.com/ArduPilot/ardupilot
ci: allow build systems to use ccache more efficiently
This commit is contained in:
parent
d3b20f9fd1
commit
b5faf9c361
|
@ -12,8 +12,12 @@ c_compiler=${CC:-gcc}
|
|||
cxx_compiler=${CXX:-g++}
|
||||
unset CXX CC
|
||||
|
||||
export BUILDROOT=/tmp/travis.build.$$
|
||||
export BUILDROOT=/tmp/ci.build
|
||||
rm -rf $BUILDROOT
|
||||
export GIT_VERSION="ci_test"
|
||||
export NUTTX_GIT_VERSION="ci_test"
|
||||
export PX4_GIT_VERSION="ci_test"
|
||||
export CCACHE_SLOPPINESS="include_file_ctime,include_file_mtime"
|
||||
|
||||
# If CI_BUILD_TARGET is not set, default to all of them
|
||||
if [ -z "$CI_BUILD_TARGET" ]; then
|
||||
|
|
Loading…
Reference in New Issue