ci: allow build systems to use ccache more efficiently

This commit is contained in:
Francisco Ferreira 2016-04-15 15:53:10 +01:00 committed by Lucas De Marchi
parent d3b20f9fd1
commit b5faf9c361
1 changed files with 5 additions and 1 deletions

View File

@ -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