Re: [ccache] Using a shared ccache in cmake environment (linux)

2020-03-17 Thread Paul Smith via ccache
On Mon, 2020-03-16 at 20:26 +0100, Steffen Dettmer via ccache wrote: > As workaround for a special unrelated issue currently we redefine > __FILE__ (and try to remove that redefinition). I understand that > ccache still works thanks to CCACHE_BASEDIR even for __FILE__ usage > inside files. Is that

Re: [ccache] New release (with color) any time soon?

2014-10-18 Thread Paul Smith
On Sat, 2014-10-18 at 13:24 +0200, Egmont Koblinger wrote: > Coloring support has been in ccache git for almost a year now. I've just > simply compiled and installed it, overwriting Ubuntu's package, and it > works like a charm for me. Can someone describe the ccache support for this? I wonder h

Re: [ccache] Support for color diagnostics

2014-06-26 Thread Paul Smith
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, does it? If I'm understanding this correctly won't this cause rebuilds based on whether you're redi

Re: [ccache] [PATCH] Use bash for test.sh.

2012-11-12 Thread Paul Smith
On Mon, 2012-11-12 at 13:11 -0500, Eitan Adler wrote: > #!/bin/sh which is mandated to exist by POSIX Actually, unless there's been a change, POSIX doesn't mandate that the POSIX shell appear as /bin/sh. Unfortunately, this means that systems are free to provide definitively non-POSIX /bin/sh an

Re: [ccache] Stumbling blocks with ccache and embedded/encapsulated environments

2010-12-02 Thread Paul Smith
On Wed, 2010-12-01 at 21:47 -0500, Paul Smith wrote: > Now I'm on to my next problem. In order to get this to happen I have > to set CCACHE_BASEDIR to strip off the workspace directory prefix, so > that the per-workspace filenames are not embedded in the cache. This > works (se

Re: [ccache] Stumbling blocks with ccache and embedded/encapsulated environments

2010-12-01 Thread Paul Smith
Hi all; I got sidetracked on this for a while but I'm back at it. So, I think I have the encapsulated compiler working OK now; I am able to get almost complete sharing of objects between two workspaces; after a clean build of (just a small part of) the first workspace my cache has: cache

Re: [ccache] Stumbling blocks with ccache and embedded/encapsulated environments

2010-11-10 Thread Paul Smith
On Wed, 2010-11-10 at 15:56 -0800, Christopher Tate wrote: > Very short version: if your 'make' dependencies or equivalent are > well-written, using ccache will almost always *increase* your > incremental build times. This wasn't immediately obvious to us but > makes sense in hindsight: if your d

[ccache] Stumbling blocks with ccache and embedded/encapsulated environments

2010-11-10 Thread Paul Smith
Hi all; I've been considering for a long time enabling ccache support in our build environment. However, our environment has a few unusual aspects and I wondered if anyone had any thoughts about steps we might take to ensure things are working properly. The documentation I've found is just not _q