[ccache] Collecting and merging unofficial patches (was environment variable for maxsize ?)

2008-03-20 Thread Mike Frysinger
On Wed, Mar 19, 2008 at 7:22 PM, Francois Marier franc...@debian.org wrote: In fact if maintainers from other distros (Gentoo perhaps?) want to help out and share some of their changes, that'd be great. we only have two: http://sources.gentoo.org/dev-util/ccache/files/ -mike

[ccache] using ccache with a cross-compiler fails to compile preprocessed output

2007-06-14 Thread Mike Frysinger
ive been using ccache with my cross-compilers but i just came across a situation where ccache is causing problems $ cat test.i typedef __blkcnt_t blkcnt_t; $ bfin-uclinux-gcc -c test.i bfin-uclinux-gcc: ??`: No such file or directory bfin-uclinux-gcc: no input files $ bfin-uclinux-gcc -c test.i

Re: [ccache] Compression on or off by default?

2010-03-03 Thread Mike Frysinger
On Tue, Mar 2, 2010 at 17:10, Joel Rosdahl wrote: Lars Gustäbel's compression patch (which will be incorporated in ccache 3.0) enables compression by default, and if you don't want compression you have to set CCACHE_NOCOMPRESS. I'm still a bit undecided about whether defaulting to compression

Re: [ccache] Compression on or off by default?

2010-03-04 Thread Mike Frysinger
On Thu, Mar 4, 2010 at 16:00, Joel Rosdahl wrote: On Wed, 3 Mar 2010 05:00:48 -0500 Mike Frysinger wrote: make the default a ./configure option that defaults to off I would prefer not to make a build-time option of this, because then the documentation has say something in line with whether

Re: [ccache] PATCH: Fix version.c for older gits

2010-09-24 Thread Mike Frysinger
On Fri, Sep 24, 2010 at 14:46, Wilson Snyder wrote: -    $(shell (git describe --dirty 2/dev/null || echo vunknown) \ +    $(shell (git describe --dirty 2/dev/null || git describe 2/dev/null || echo vunknown) \ probably better to move the stderr outside of the subshell: $(shell (git

Re: [ccache] Suggested patch to add local strtok_r for systems lacking it

2012-04-12 Thread Mike Frysinger
On Thursday 12 April 2012 02:32:39 Jürgen Buchmüller wrote: here's a suggested patch for config.h.in and util.c to add a local implementation of strtok_r for systems that don't have it (e.g. mingw32 plus libgw32c). sounds like we should just integrate gnulib instead of open coding all of our

Re: [ccache] Making ccache and clang compatible

2012-07-05 Thread Mike Frysinger
On Wednesday 04 July 2012 09:53:46 Max Horn wrote: Using ccache with clang tends to generate tons of warnings, which can range from simply being annoying, to causing autoconf failures. This is because ccache runs the compiler with -E on preprocessed input, but also passes -I, -isystem etc.

Re: [ccache] Why not cache link commands?

2012-09-18 Thread Mike Frysinger
On Tuesday 18 September 2012 08:44:29 Andrew Stubbs wrote: Clearly there are some technical challenges in doing this: we'd have to hash all the object files and libraries (a la direct mode), but those problems are surmountable, I think. or just re-use build-id ... The linker does not use any

Re: [ccache] Why not cache link commands?

2012-09-18 Thread Mike Frysinger
On Tuesday 18 September 2012 17:07:53 Andrew Stubbs wrote: On 18/09/12 21:04, Mike Frysinger wrote: On Tuesday 18 September 2012 08:44:29 Andrew Stubbs wrote: Clearly there are some technical challenges in doing this: we'd have to hash all the object files and libraries (a la direct mode

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

2012-11-09 Thread Mike Frysinger
On Monday 05 November 2012 12:55:10 Andrew Stubbs wrote: The test script fails with shells other than bash. At least dash doesn't work. could you post the exact errors you see ? i see old style portable code in there that could easily be modernized to recent POSIX and plenty of quoting

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

2012-11-10 Thread Mike Frysinger
On Saturday 10 November 2012 00:41:52 Eitan Adler wrote: On 10 November 2012 00:41, Mike Frysinger wrote: if the script is written in bash and is intended to be, then /bin/bash is the correct answer. Absolutely false. /usr/local/bin or /opt/bin might be the correct location. if you have

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

2012-11-12 Thread Mike Frysinger
On Sunday 11 November 2012 06:31:14 Eitan Adler wrote: On 11 November 2012 00:46, Mike Frysinger vap...@gentoo.org wrote: On Saturday 10 November 2012 00:41:52 Eitan Adler wrote: On 10 November 2012 00:41, Mike Frysinger wrote: if the script is written in bash and is intended

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

2012-11-12 Thread Mike Frysinger
On Saturday 10 November 2012 05:08:40 Joel Rosdahl wrote: On 10 November 2012 06:45, Mike Frysinger vap...@gentoo.org wrote: i see old style portable code in there that could easily be modernized to recent POSIX Please don't strive to do that. Solaris's /bin/sh isn't POSIX. autoconf

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

2012-11-12 Thread Mike Frysinger
On Monday 12 November 2012 06:03:37 Andrew Stubbs wrote: Running sh -x test.sh shows that the gcc command producing the error: + CCACHE_DISABLE=1 gcc -c test1.c -o reference_test1.o -O -O gcc: error trying to exec 'cc1': execvp: No such file or directory I don't understand what's wrong

[ccache] [PATCH] ignore config.cache files

2014-09-15 Thread Mike Frysinger
This is created when you run `./configure -C`. --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 7bed498..cfadd23 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,7 @@ ccache-*.tar.* ccache.1 ccache.html ccache.xml +config.cache config.h

Re: [ccache] ccache version 3.2.3 has been released

2015-08-19 Thread Mike Frysinger
On 17 Aug 2015 21:06, Joel Rosdahl wrote: Tom Lane t...@sss.pgh.pa.us wrote: [...] this fails to build for me on late-model OS X: Bummer. Here's my proposed fix: https://git.samba.org/?p=ccache.git;a=commitdiff;h=f74c76107933046309861680b741adc67ac2a34e. Perhaps you could try it out? that

Re: [ccache] ccache version 3.2.3 has been released

2015-08-16 Thread Mike Frysinger
On 16 Aug 2015 13:39, Tom Lane wrote: $ grep extra_libs Makefile extra_libs = -lz ccache$(EXEEXT): $(ccache_objs) $(extra_libs) $(CC) $(all_cflags) -o $@ $(ccache_objs) $(all_ldflags) $(extra_libs) $(LIBS) test/main$(EXEEXT): $(base_objs) $(test_objs) $(extra_libs) $(CC)

Re: [ccache] Using ccache with memcached

2015-12-02 Thread Mike Frysinger
On 01 Dec 2015 21:59, Anders Björklund wrote: > Pierre Tardy made a PR (https://github.com/jrosdahl/ccache/pull/30) > to replace the filesystem ("fs") cache with memcached altogether. > > We have gone with a different approach, to use memcached only as a > secondary cache - while preserving the

Re: [ccache] Using ccache with memcached

2015-12-06 Thread Mike Frysinger
On 02 Dec 2015 20:16, Pierre Tardy wrote: > > i don't think getting rid out of the fs makes sense, but having memcache > > be available dynamically as an additional layer sounds fine. > > It does make a lot of sense for me as I have a high performance network, > which is faster than local

Re: [ccache] Moving to github

2016-05-23 Thread Mike Frysinger
On 23 May 2016 20:17, Joel Rosdahl wrote: > Ever since Tridge handed over the project to me, the main ccache Git > repository has been hosted on git.samba.org and bugs handled in > bugzilla.samba.org. I also have kept an unofficial mirror on github. > > Since some time now, almost all activity

Re: [ccache] Migration from autotools to cmake

2016-07-19 Thread Mike Frysinger
On 19 Jul 2016 18:17, Joel Rosdahl wrote: > On 12 July 2016 at 12:03, Иван Вайгульт wrote: > > In order to enable visual studio build I did full build replica using > > cmake. [...] > > Any feedback from you is desired. > > Thanks for working on this. > > After some