diff options
author | Jerome Forissier <jerome.forissier@linaro.org> | 2018-06-01 17:22:21 +0200 |
---|---|---|
committer | Jérôme Forissier <jerome.forissier@linaro.org> | 2018-06-04 11:25:14 +0200 |
commit | 836334a163f9b42fa7f173de57e05edceb355dc4 (patch) | |
tree | 03c9699f30252a41d3a4bc5245e568857c8162a7 /.shippable.yml | |
parent | a2a52e198719e5c7967f19b7c79ed9891cacb6e3 (diff) |
ci: shippable: set build directory identically for all platforms
Further improve the ccache hit rate by setting the build directory
to be the same for all platforms. Prior to this, only the build for
the same platform could share cached files, because the file path is
part of the hash.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to '.shippable.yml')
-rw-r--r-- | .shippable.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.shippable.yml b/.shippable.yml index dc082b6f..e95c207e 100644 --- a/.shippable.yml +++ b/.shippable.yml @@ -15,7 +15,7 @@ build: - export CFG_DEBUG_INFO=n; export CCACHE_UNIFY=true # No parallel build ('make -j$(getconf _NPROCESSORS_ONLN)') due to: # https://github.com/Shippable/support/issues/3953 - - function _make() { make -s $* && ccache -s && ccache -z; } + - function _make() { make -s O=out $* && ccache -s && ccache -z; } - ccache -z - _make |