[cfe-dev] Ninja Builds Break with CCache

nick via cfe-dev cfe-dev at lists.llvm.org
Tue Jun 18 19:12:08 PDT 2019



On 2019-06-18 6:13 p.m., Chris Bieneman wrote:
> Nick,
> 
> Like Tom said, lots of people use ccache with ninja without issue. I use sccache myself.
> 
> Can you be more specific about the errors and exactly how you are configuring your build?
> 
> -Chris
> 
Chris,

Unfortunately I switched to Unix Makefiles to avoid the issue. Running into something
else but for the point of this thread I would close it for now unless someone can verify
it for me on a Ubuntu 19.04 x86_64 gcc based host with ccache.

Nick
>> On Jun 18, 2019, at 11:50 AM, nick via cfe-dev <cfe-dev at lists.llvm.org> wrote:
>>
>>
>>
>> On 2019-06-18 1:49 p.m., Tom Stellard wrote:
>>> On 06/18/2019 10:42 AM, nick via cfe-dev wrote:
>>>> Greetings All,
>>>>
>>>> Seems that ninja breaks ccache on my system for building. This is nothing new as ccache
>>>> as always seemed to not like ninja or the other way around. Anyhow I would recommend
>>>> that you update the build instructions for new users to avoid this issue arising 
>>>> again.
>>>>
>>>
>>> Can you be more specific about the failures?  I use ccache all the time and have
>>> not seen any issues.
>>>
>>> -Tom
>>>
>>>> Nick
>>>> _______________________________________________
>>>> cfe-dev mailing list
>>>> cfe-dev at lists.llvm.org
>>>> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>>>>
>>>
>> Tom.
>>
>> I just switched to Unix makefiles but it was complaining that -v is not a valid ccache
>> option in the logs. I ran cmake like cmake -G Ninja and unless that's wrong it fails 
>> for me.
>>
>> Nick
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org <mailto:cfe-dev at lists.llvm.org>
>> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev <https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev>
> 



More information about the cfe-dev mailing list