Re: [ccache] Support for color diagnostics

2014-06-26 Thread Lubos Lunak
On Thursday 26 of June 2014, Paul Smith wrote: > On Thu, 2014-06-26 at 18:44 +0200, Lubos Lunak wrote: > > Caveats: > > - Compiles with and without colors are considered different from each > > other (so they are "duplicated"). > > This doesn't seem ideal

Re: [ccache] Support for color diagnostics

2014-06-26 Thread Lubos Lunak
es. > > When extracting the compiler name, I suggest using basename() from util.c. > That way it will work on Windows as well. Attached is an updated patch that passes also all the tests. -- Lubos Lunak From b466ec1fde17ff72989a39c51fbe3f1c68284967 Mon Sep 17 00:00:00 2001 From: =?UTF-

Re: [ccache] Support for color diagnostics

2014-06-01 Thread Lubos Lunak
On Friday 29 of November 2013, Lubos Lunak wrote: > Hello, > > the attached patch adds ccache support for compiler color diagnostics > (also reported by somebody as #10075). Ping? Any "official" comments on the patch? I've been using the patch for half a y

Re: [ccache] ccache has issues with current Apple compilers

2014-05-31 Thread Lubos Lunak
nexpected that ccache would change > the compiler's warning behavior? Use CCACHE_CPP2 when using ccache with clang (see e.g. http://www.mail-archive.com/ccache@lists.samba.org/msg01045.html). -- Lubos Lunak ___ ccache mailing list ccache@lists.samba.org https://lists.samba.org/mailman/listinfo/ccache

Re: [ccache] Support for color diagnostics

2014-02-18 Thread Lubos Lunak
see colours). > > With that patch, I don't see the colours in auto mode. It only works in > always mode. I see. How about this patch? -- Lubos Lunak From cacb14929748ae93eacefcfa194aa93689d217eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 29

Re: [ccache] Support for color diagnostics

2014-02-12 Thread Lubos Lunak
On Wednesday 12 of February 2014, Ryan Hill wrote: > On Fri, 29 Nov 2013 12:39:25 +0100 > > Lubos Lunak wrote: > > Clang automatically uses colors for output automatically if used in > > terminal. Ccache's redirecting to a file disables this. GCC 4.8 has got a > >

Re: [ccache] Support for color diagnostics

2014-02-11 Thread Lubos Lunak
Ping? On Friday 29 of November 2013, Lubos Lunak wrote: > Hello, > > the attached patch adds ccache support for compiler color diagnostics > (also reported by somebody as #10075). > > Clang automatically uses colors for output automatically if used in > terminal. Ccac

Re: [ccache] Support for color diagnostics

2013-12-04 Thread Lubos Lunak
On Saturday 30 of November 2013, Loïc Yhuel wrote: > Le 30/11/2013 11:07, Lubos Lunak a écrit : > > On Saturday 30 of November 2013, Loïc Yhuel wrote: > >> Le 29/11/2013 14:08, Lubos Lunak a écrit : > >>> On Friday 29 of November 2013, Lubos Lunak wrote: > &g

Re: [ccache] Support for color diagnostics

2013-11-30 Thread Lubos Lunak
On Saturday 30 of November 2013, Loïc Yhuel wrote: > Le 29/11/2013 14:08, Lubos Lunak a écrit : > > On Friday 29 of November 2013, Lubos Lunak wrote: > >> Hello, > >> > >> the attached patch adds ccache support for compiler color diagnostics > >> (

[ccache] Ccache's use of preprocessed source

2013-11-29 Thread Lubos Lunak
e common and why have the overhead of running cpp for a minority of hits). I could give this a shot, but I don't know if there isn't some design problem making this difficult/impossible. -- Lubos Lunak ___ ccache mailing list ccache@lists.samba.org https://lists.samba.org/mailman/listinfo/ccache

Re: [ccache] Support for color diagnostics

2013-11-29 Thread Lubos Lunak
On Friday 29 of November 2013, Lubos Lunak wrote: > Hello, > > the attached patch adds ccache support for compiler color diagnostics > (also reported by somebody as #10075). ... > Caveats: I forgot one: - The function color_output_possible() may look simplistic, but as far as

[ccache] Support for color diagnostics

2013-11-29 Thread Lubos Lunak
te manpage section for this color support, but I first wanted to check here with the code. -- Lubos Lunak From d4284a161e733a68ad1c1c84d124d81d3c627db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 29 Nov 2013 12:14:03 +0100 Subject: [PATCH] support compile

Re: [ccache] Support for Clang plugins (still) not working in 3.1.9

2013-01-08 Thread Lubos Lunak
On Tuesday 08 of January 2013, Joel Rosdahl wrote: > > Could you please include that commit as well? Thank you. > > I've applied it to maint now, so it will be included in 3.1.10. Please > try if current maint works like you expect. Yes, now maint indeed works as well, thank

[ccache] Support for Clang plugins (still) not working in 3.1.9

2013-01-08 Thread Lubos Lunak
soon, but even though it's been included in 3.1.9, that ccache version still sees such compiles as 'multiple source files', because it requires 8e005b067d8c2423e24ee14ffdee8343f650f1e8 too. Could you please include that commit as well? Thank you. --

[ccache] [PATCH] Hash also Clang plugins

2012-07-30 Thread Lubos Lunak
Hello, please review and push the attached patch, which adds Clang plugins to the hash, similarly as is already done with GCC plugins. -- Lubos Lunak l.lu...@suse.cz From 11b35610cf97b1540dc883b03e7ce059735bd04c Mon Sep 17 00:00:00 2001 From: Lubos Lunak Date: Thu, 26 Jul 2012 14:45:16

Re: [ccache] [PATCH] Support for Clang precompiled headers

2012-07-13 Thread Lubos Lunak
On Friday 13 of July 2012, Lubos Lunak wrote: > If somebody would feel like playing with this, note that Clang 3.2 will > have -E -Wp,-rewrite-includes, Make that -E -frewrite-includes, looks like upstream has changed that. > which only processes #include directives and > not

Re: [ccache] [PATCH] Support for Clang precompiled headers

2012-07-13 Thread Lubos Lunak
On Thursday 12 of July 2012, Joel Rosdahl wrote: > On 6 July 2012 19:09, Lubos Lunak wrote: > > the attached patches modify ccache to also support Clang PCH in addition > > to GCC PCH. > > Thanks! > > Regarding 0002-hash-clang-s-.pch-file-explicitly.patch: Why i

Re: [ccache] Making ccache and clang compatible

2012-07-11 Thread Lubos Lunak
ng suppressed or error/warning messages quoting modified source code. As a side-effect, this problem with preprocessor options will not exist with CCACHE_CPP2 either. It is a question how much not using CCACHE_CPP2 with Clang would improve performance anyway. -- Lubos Lunak l.lu...@suse.cz ___ ccache mailing list ccache@lists.samba.org https://lists.samba.org/mailman/listinfo/ccache

[ccache] [PATCH] Support for Clang precompiled headers

2012-07-06 Thread Lubos Lunak
s are affected, some warnings are not supressed in headers). -- Lubos Lunak l.lu...@suse.cz From 768ffacb434d116759fc73cf0d2723aba6b5af4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 6 Jul 2012 18:09:36 +0200 Subject: [PATCH 1/3] support for precompiled headers