• Kir Kolyshkin's avatar
    travis: enable ccache for local builds · 29f9e6e2
    Kir Kolyshkin authored
    For now, it's done for local builds only (i.e. no per-arch Docker
    builds yet). The reason is, it's easier to play with ccache when
    the compiles are (relatively) fast.
    
    Performance: there is 2x to 3x improvement in build speeds for
    ideal cases (same code, hot cache), but the absolute savings
    are negligible (example: 7 seconds instead of 23).
    
    Note that ccache is not compatible with gcov, so we only enable it
    for non-gcov build (which happens to be the one with clang).
    Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    29f9e6e2
.travis.yml 497 Bytes