diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2019-06-20 10:11:10 +0200 |
---|---|---|
committer | Stefan Schmidt <s.schmidt@samsung.com> | 2019-06-20 14:05:07 +0200 |
commit | ca64dbd3c920477ee0e9c83d9ef7c5a20df96b57 (patch) | |
tree | b6353692977b2e6ae25953d4f78e103dfc77af83 /.ci | |
parent | ba22016c4cc130a93450f1ccc2c267f28e5ba7d0 (diff) |
ci: use ccache also in the mingw cross build
This is one of these two line changing commits one just have to love.
Using ccache also for the mingw builds got a amazing speedof for the
cross build as well.
In my, simple, testing I could reduce the build time on Travis from 18m
to 6m when rebuilding the same rev, thus a 100% cache hit rate. In real
life this would be less of an improvement but reducing the build time in
half is kind of realistic I think. Thanks to Marcel to bringing the idea
up.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D9139
Diffstat (limited to '.ci')
-rw-r--r-- | .ci/cross_toolchain.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.ci/cross_toolchain.txt b/.ci/cross_toolchain.txt index b9cd19a8ee..565643b93e 100644 --- a/.ci/cross_toolchain.txt +++ b/.ci/cross_toolchain.txt | |||
@@ -1,6 +1,6 @@ | |||
1 | [binaries] | 1 | [binaries] |
2 | c = 'x86_64-w64-mingw32-gcc' | 2 | c = ['ccache', 'x86_64-w64-mingw32-gcc'] |
3 | cpp = 'x86_64-w64-mingw32-g++' | 3 | cpp = ['ccache', 'x86_64-w64-mingw32-g++'] |
4 | ar = 'x86_64-w64-mingw32-ar' | 4 | ar = 'x86_64-w64-mingw32-ar' |
5 | ranlib = 'x86_64-w64-mingw32-ranlib' | 5 | ranlib = 'x86_64-w64-mingw32-ranlib' |
6 | strip = 'x86_64-w64-mingw32-strip' | 6 | strip = 'x86_64-w64-mingw32-strip' |