Ninja Builds Break with CCache

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Ninja Builds Break with CCache

Nathan Ridge via cfe-dev
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.

Nick
_______________________________________________
cfe-dev mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Ninja Builds Break with CCache

Nathan Ridge via cfe-dev
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
> [hidden email]
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>

_______________________________________________
cfe-dev mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Ninja Builds Break with CCache

Nathan Ridge via cfe-dev


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
>> [hidden email]
>> 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
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Ninja Builds Break with CCache

Nathan Ridge via cfe-dev
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 <[hidden email]> 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
[hidden email]
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
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev


_______________________________________________
cfe-dev mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
Reply | Threaded
Open this post in threaded view
|

Re: Ninja Builds Break with CCache

Nathan Ridge via cfe-dev


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 <[hidden email]> 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
>>>> [hidden email]
>>>> 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
>> [hidden email] <mailto:[hidden email]>
>> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev <https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev>
>
_______________________________________________
cfe-dev mailing list
[hidden email]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev