qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 4/6] .travis.yml: enable ccache for the build


From: Alex Bennée
Subject: Re: [Qemu-devel] [PATCH v4 4/6] .travis.yml: enable ccache for the builds
Date: Thu, 04 Feb 2016 15:09:03 +0000
User-agent: mu4e 0.9.17; emacs 25.0.90.1

David Gibson <address@hidden> writes:

> On Tue, Feb 02, 2016 at 05:34:06PM +0000, Alex Bennée wrote:
>> Travis support ccache on a cache-per-branch basis. Given not much of the
>> build changes between pushes as well as the duplication in each build it
>> seems worthwhile enabling this.
>>
>> Signed-off-by: Alex Bennée <address@hidden>
>
> Reviewed-by: David Gibson <address@hidden>
> Tested-by: David Gibson <address@hidden>
>
> From the build times, it doesn't look like this is buying us as much
> as I might have hoped, still it's unlikely to hurt.
>
> Do we know what the lifetime for the cache travis imposes?

AFAICT they last forever unless the user wipes the cache. They may have a
hidden heuristic to stop them growing too big but I don't know.

>
>> ---
>>  .travis.yml | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/.travis.yml b/.travis.yml
>> index 021eec7..4f09909 100644
>> --- a/.travis.yml
>> +++ b/.travis.yml
>> @@ -5,6 +5,7 @@ python:
>>  compiler:
>>    - gcc
>>    - clang
>> +cache: ccache
>>  addons:
>>    apt:
>>      packages:


--
Alex Bennée



reply via email to

[Prev in Thread] Current Thread [Next in Thread]