[cfe-dev] Ninja Builds Break with CCache

Chris Bieneman via cfe-dev cfe-dev at lists.llvm.org
Tue Jun 18 15:13:18 PDT 2019


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

> 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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190618/670a0dab/attachment.html>


More information about the cfe-dev mailing list