]>
git.ipfire.org Git - thirdparty/ccache.git/log
Joel Rosdahl [Thu, 10 Dec 2009 20:55:30 +0000 (21:55 +0100)]
Use x_asprintf() instead of asprintf() + fatal()
Joel Rosdahl [Thu, 10 Dec 2009 17:05:19 +0000 (18:05 +0100)]
Put temporary files in a subdirectory of the cache directory
This is to avoid clobbering the cache directory root with left-over temporary
files.
Joel Rosdahl [Wed, 9 Dec 2009 20:37:38 +0000 (21:37 +0100)]
Fix statistics and cache cleanup for files generated by direct mode
The statistics counters "files in cache" and "cache size" now only include
object files. It's not worth the effort to keep track of the .manifest, .d and
.stderr files since the cache size is dominated by the object files, and it's
unlikely that anyone is bothered by du(1) having a different opinion (which
also was the case before anyway). Consequently, the "max file" and "max cache
size" settings now specify thresholds for object files count and size.
Joel Rosdahl [Wed, 9 Dec 2009 19:08:06 +0000 (20:08 +0100)]
Handle missing dependency file in cache correctly
Joel Rosdahl [Sun, 6 Dec 2009 15:53:36 +0000 (16:53 +0100)]
Store 32-bit unsigned integers in manifest and make manifest files compressed
Joel Rosdahl [Sun, 6 Dec 2009 15:14:45 +0000 (16:14 +0100)]
Improve copy_file and move_file functions
Joel Rosdahl [Sun, 6 Dec 2009 14:39:50 +0000 (15:39 +0100)]
Require zlib
Joel Rosdahl [Sun, 6 Dec 2009 14:25:07 +0000 (15:25 +0100)]
Avoid warning from autoconf by adding datarootdir assignment to Makefile.in
Joel Rosdahl [Sat, 5 Dec 2009 13:09:21 +0000 (14:09 +0100)]
Correctly handle direct mode hit, missing object file and differing cpp hash
Joel Rosdahl [Sat, 5 Dec 2009 10:56:01 +0000 (11:56 +0100)]
Remove silly log message
Joel Rosdahl [Sat, 5 Dec 2009 10:27:35 +0000 (11:27 +0100)]
Rewrite include directory option arguments into relative to get better hit rate
A secondary effect is that paths in the standard error output produced by the
compiler will be normalized.
Joel Rosdahl [Sat, 5 Dec 2009 09:58:38 +0000 (10:58 +0100)]
Rewrite dependency file path to relative as well
Joel Rosdahl [Wed, 2 Dec 2009 18:56:17 +0000 (19:56 +0100)]
Add support for -Wp,-MD and -Wp,-MMD flags
Joel Rosdahl [Wed, 2 Dec 2009 18:37:28 +0000 (19:37 +0100)]
Print entry counts in dump-manifest
Joel Rosdahl [Thu, 26 Nov 2009 22:36:19 +0000 (23:36 +0100)]
Rewrite absolute paths under CCACHE_BASEDIR to relative
Joel Rosdahl [Thu, 26 Nov 2009 19:53:29 +0000 (20:53 +0100)]
Don't put duplicate object file entries in the manifest
Joel Rosdahl [Sun, 22 Nov 2009 20:13:32 +0000 (21:13 +0100)]
Let direct mode create dependency file too
Joel Rosdahl [Sat, 21 Nov 2009 10:30:45 +0000 (11:30 +0100)]
Improve logging
Joel Rosdahl [Sat, 21 Nov 2009 09:34:04 +0000 (10:34 +0100)]
Fix bad memory access spotted by Valgrind
Joel Rosdahl [Sat, 14 Nov 2009 17:26:44 +0000 (18:26 +0100)]
Simple performance benchmark script
Joel Rosdahl [Sat, 14 Nov 2009 15:14:55 +0000 (16:14 +0100)]
First working version of the direct mode
Joel Rosdahl [Thu, 12 Nov 2009 18:58:09 +0000 (19:58 +0100)]
Log fatal messages both to stderr and log file
Joel Rosdahl [Sun, 8 Nov 2009 19:39:41 +0000 (20:39 +0100)]
Add support for dynamic dependencies on header files
Joel Rosdahl [Sun, 8 Nov 2009 19:13:27 +0000 (20:13 +0100)]
Let hash_* functions take a hash context so that they are reusable
Joel Rosdahl [Sun, 8 Nov 2009 09:30:41 +0000 (10:30 +0100)]
Export variables in test.sh to make tests work properly
Joel Rosdahl [Sat, 7 Nov 2009 08:12:20 +0000 (09:12 +0100)]
Fix tab usage
Joel Rosdahl [Sat, 7 Nov 2009 08:09:39 +0000 (09:09 +0100)]
Remove trailing whitespace
Joel Rosdahl [Thu, 5 Nov 2009 22:20:48 +0000 (23:20 +0100)]
Resync ccache.yo with ccache.1
Joel Rosdahl [Tue, 3 Nov 2009 21:57:52 +0000 (22:57 +0100)]
Rename configure.in to configure.ac
Joel Rosdahl [Tue, 3 Nov 2009 21:57:24 +0000 (22:57 +0100)]
Remove generated files configure and config.h.in
Joel Rosdahl [Mon, 2 Nov 2009 18:01:12 +0000 (19:01 +0100)]
Don't hash CCACHE_PREFIX
Joel Rosdahl [Mon, 2 Nov 2009 17:52:30 +0000 (18:52 +0100)]
Fix indentation
Joel Rosdahl [Mon, 2 Nov 2009 17:11:35 +0000 (18:11 +0100)]
Add __attribute__ format declarations
Joel Rosdahl [Sun, 1 Nov 2009 18:49:59 +0000 (19:49 +0100)]
Add support for Emacs flymake-mode
Joel Rosdahl [Sun, 1 Nov 2009 18:46:41 +0000 (19:46 +0100)]
Bail out on --coverage and -fprofile-arcs
Joel Rosdahl [Sun, 1 Nov 2009 18:45:05 +0000 (19:45 +0100)]
Add AC_DEFINE of ENABLE_ZLIB to avoid autoconf warning
Joel Rosdahl [Sun, 1 Nov 2009 18:44:19 +0000 (19:44 +0100)]
Stop on error in autogen.sh
Joel Rosdahl [Sun, 1 Nov 2009 18:44:01 +0000 (19:44 +0100)]
Remove .cvsignore
Joel Rosdahl [Sun, 1 Nov 2009 19:17:39 +0000 (20:17 +0100)]
Update NEWS
William S Fulton [Sun, 1 Nov 2009 18:39:58 +0000 (19:39 +0100)]
Fix GCC 4.3 warnings
See <http://bugs.debian.org/508046>.
Ville Skytta [Sun, 1 Nov 2009 18:39:58 +0000 (19:39 +0100)]
Correct documentation about hard links
See <http://www.redhat.com/archives/fedora-extras-commits/2007-July/msg05016.html>.
Francois Marier [Sun, 1 Nov 2009 18:39:58 +0000 (19:39 +0100)]
Detect and report permission failure for "ccache -F/-M"
Debian patch 12_cachesize_permissions.diff. See
<http://bugs.debian.org/332527>.
Robin H. Johnson [Sun, 1 Nov 2009 18:39:58 +0000 (19:39 +0100)]
Use utimes(3) instead of utime(3) to avoid truncating timestamps
See <http://bugs.gentoo.org/136233>.
RW [Sun, 1 Nov 2009 18:39:58 +0000 (19:39 +0100)]
Cache clean-up fix
See <http://lists.samba.org/archive/ccache/2008q2/000339.html>.
Karl Chen [Sun, 1 Nov 2009 18:39:58 +0000 (19:39 +0100)]
Create CACHEDIR.TAG file
See <http://lists.samba.org/archive/ccache/2008q1/000316.html>.
Andrea Bittau [Sun, 1 Nov 2009 18:39:58 +0000 (19:39 +0100)]
Fix handling of the -MD and -MDD options
From <http://lists.samba.org/archive/ccache/2007q2/000272.html>:
The -MD and -MDD options automatically determine where the dependency file
should land and what the target should look like based on the -o option.
However, ccache drops -o and things mess up. The original patch was posted by
Kaz Kylheku but I reworked it to make it work properly. Here is his post:
http://lists.samba.org/archive/ccache/2006q4/000249.html
John Coiner [Sun, 1 Nov 2009 18:39:58 +0000 (19:39 +0100)]
Fix NFS issues
See <http://lists.samba.org/archive/ccache/2007q1/000265.html>.
Francois Marier [Sun, 1 Nov 2009 18:39:58 +0000 (19:39 +0100)]
Add support for long command-line options
Debian patch 03_long_options.diff.
Lars Gustäbel [Sun, 1 Nov 2009 18:39:58 +0000 (19:39 +0100)]
Use zlib compression for the cached files
See <http://www.gustaebel.de/lars/ccache/>.
Francois Marier [Sun, 1 Nov 2009 18:39:58 +0000 (19:39 +0100)]
Improve detection of missing home directory
Debian patch 01_no_home.diff.
Joel Rosdahl [Sun, 1 Nov 2009 18:36:17 +0000 (19:36 +0100)]
Add NEWS file
Andrew Tridgell [Wed, 28 Feb 2007 04:24:04 +0000 (05:24 +0100)]
ccache can't handle test coverage
Andrew Tridgell [Wed, 28 Feb 2007 04:23:43 +0000 (05:23 +0100)]
unset CCACHE_DISABLE so ccache on build farm with lcov is OK
Andrew Tridgell [Mon, 17 Jul 2006 03:41:12 +0000 (05:41 +0200)]
fixed a bug in x_realloc()
Andrew Tridgell [Mon, 17 Jul 2006 01:09:56 +0000 (03:09 +0200)]
make sure we cleanup any tmp files leftover from dead ccache runs
Andrew Tridgell [Mon, 17 Jul 2006 01:09:30 +0000 (03:09 +0200)]
make ccache more friendly to the kernels directory layout, by creating
files in the directory they will end up (thanks to Al Viro for the
suggestion)
Paul Griffith [Thu, 11 May 2006 21:44:44 +0000 (23:44 +0200)]
Have the ccache Makefile obey the settings of the CPPFLAGS and LDFLAGS
environment variables that are in force when the configure script is
executed.
Paul
Tim Potter [Sun, 5 Feb 2006 00:05:28 +0000 (01:05 +0100)]
One more.
Tim Potter [Sun, 5 Feb 2006 00:04:17 +0000 (01:04 +0100)]
Fix another link.
Tim Potter [Sun, 5 Feb 2006 00:02:55 +0000 (01:02 +0100)]
Fix link after rearranging ccache.samba.org virtual host.
Andrew Tridgell [Thu, 24 Nov 2005 21:54:09 +0000 (22:54 +0100)]
added CCACHE_HASH_COMPILER option
Andrew Tridgell [Thu, 24 Nov 2005 21:10:08 +0000 (22:10 +0100)]
CCACHE_NOHASH_SIZE_MTIME patch from Jens Schweikhardt
Andrew Tridgell [Mon, 25 Jul 2005 07:05:46 +0000 (09:05 +0200)]
fixed build on FreeBSD
Andrew Tridgell [Wed, 18 May 2005 04:32:31 +0000 (06:32 +0200)]
print a stderr warning on failure to find homedir
Andrew Tridgell [Wed, 18 May 2005 04:30:29 +0000 (06:30 +0200)]
added autogen.sh
Andrew Tridgell [Wed, 18 May 2005 04:28:49 +0000 (06:28 +0200)]
ran autoheader
Andrew Tridgell [Thu, 27 Jan 2005 09:40:11 +0000 (10:40 +0100)]
- fixed a oom check
- attempt to get sol10/x86 to build
Andrew Tridgell [Mon, 13 Sep 2004 10:38:17 +0000 (12:38 +0200)]
updated web for 2.4 release
Andrew Tridgell [Mon, 13 Sep 2004 10:19:06 +0000 (12:19 +0200)]
include the compiler name in the hash if the link count on the
compiler is > 1, to cope with compilers (like the AIX one) that
changes behaviour based on argv[0].
Thanks to Nicholas Clark <nick@ccl4.org> for pointing out this problem
Andrew Tridgell [Fri, 10 Sep 2004 05:05:14 +0000 (07:05 +0200)]
added CCACHE_READONLY and CCACHE_TEMPDIR options, thanks to a
suggestion from Jeff Apple <japple@paradise.net.nz>
Andrew Tridgell [Wed, 8 Sep 2004 03:31:57 +0000 (05:31 +0200)]
up ccache version
Andrew Tridgell [Wed, 8 Sep 2004 03:31:30 +0000 (05:31 +0200)]
fixed link to cachecc1 and add a link to gocache
Andrew Tridgell [Mon, 6 Sep 2004 13:11:15 +0000 (15:11 +0200)]
support absolute paths in CCACHE_PREFIX
(patch from Oswald Buddenhagen <ossi@kde.org>)
Andrew Tridgell [Mon, 6 Sep 2004 13:06:17 +0000 (15:06 +0200)]
we don't need a optind declaration
(patch from Pavel@Janik.cz (Pavel Janík))
Andrew Tridgell [Mon, 6 Sep 2004 13:04:22 +0000 (15:04 +0200)]
ensure the right CC is passed to test.sh
(patch from Nicholas Clark <nick@ccl4.org>)
Andrew Tridgell [Mon, 6 Sep 2004 12:59:12 +0000 (14:59 +0200)]
cope with HOME not being set
Andrew Tridgell [Mon, 6 Sep 2004 12:47:19 +0000 (14:47 +0200)]
use error checking alloc functions in a few more places
Andrew Tridgell [Mon, 6 Sep 2004 12:46:31 +0000 (14:46 +0200)]
added cache directory to statistics (suggestion from "M. Creidieki
Crouch" <creidieki@gmail.com>)
Andrew Tridgell [Mon, 6 Sep 2004 12:24:05 +0000 (14:24 +0200)]
- attempt to make ccache work with cygwin by using O_BINARY (thanks
to email from Emilio Lopes <eclig@gmx.net>)
- disabled the direct .ii tests as these break with newest gcc
Andrew Tridgell [Thu, 27 Nov 2003 23:08:24 +0000 (00:08 +0100)]
added a link to cachecc1
Andrew Tridgell [Mon, 29 Sep 2003 01:18:54 +0000 (03:18 +0200)]
added note about hash change
Andrew Tridgell [Sun, 28 Sep 2003 04:57:57 +0000 (06:57 +0200)]
updated website for ccache 2.3
Andrew Tridgell [Sun, 28 Sep 2003 04:52:47 +0000 (06:52 +0200)]
rebuild configure
Andrew Tridgell [Sun, 28 Sep 2003 04:48:58 +0000 (06:48 +0200)]
docs rebuilt
Andrew Tridgell [Sun, 28 Sep 2003 04:47:59 +0000 (06:47 +0200)]
allow more -M options and fix some typos
Andrew Tridgell [Sat, 27 Sep 2003 13:18:14 +0000 (15:18 +0200)]
ignore yodl2man errors to allow building without yodl
Andrew Tridgell [Sat, 27 Sep 2003 12:30:55 +0000 (14:30 +0200)]
added -idirafter to supported options
Andrew Tridgell [Sat, 27 Sep 2003 12:01:47 +0000 (14:01 +0200)]
support for -MD and -MMD from Bob Wilson <bwilson@tensilica.com>
Andrew Tridgell [Sat, 27 Sep 2003 11:34:50 +0000 (13:34 +0200)]
added CCACHE_UMASK
fixed a typo
Andrew Tridgell [Thu, 25 Sep 2003 06:15:21 +0000 (08:15 +0200)]
fixed dos text format in ccache.spec
how did that happen?!
Andrew Tridgell [Thu, 25 Sep 2003 06:11:28 +0000 (08:11 +0200)]
- avoid using basename() to fix systems with that already defined
- add EINTR handling in lock_fd()
- make sure we prototype asprintf on systems that don't have it
Andrew Tridgell [Thu, 25 Sep 2003 05:49:50 +0000 (07:49 +0200)]
make sure we hash the cpp extension to ensure we don't mistake a .i
for a .ii
Andrew Tridgell [Thu, 25 Sep 2003 05:42:01 +0000 (07:42 +0200)]
- updated spec version
- updated html manpage
Andrew Tridgell [Thu, 25 Sep 2003 05:41:17 +0000 (07:41 +0200)]
added support for direct compilation of .i and .ii files
Andrew Tridgell [Wed, 24 Sep 2003 07:28:02 +0000 (09:28 +0200)]
doc patch from Martin Pool regarding NFS and renames
Andrew Tridgell [Wed, 24 Sep 2003 07:26:15 +0000 (09:26 +0200)]
- patch from Martin Pool to setup an uncached file descriptor for
stderr
Andrew Tridgell [Wed, 24 Sep 2003 07:10:32 +0000 (09:10 +0200)]
- change to version 2.3
- patch from Martin Pool to better handle DEPENDENCIES_OUTPUT
Andrew Tridgell [Wed, 24 Sep 2003 06:39:27 +0000 (08:39 +0200)]
make temporary filenames more distcc friendly
(patch from Martin Pool)
Andrew Tridgell [Wed, 24 Sep 2003 05:57:54 +0000 (07:57 +0200)]
no need to exclude -fprofile-arcs
Tim Potter [Mon, 22 Sep 2003 05:01:25 +0000 (07:01 +0200)]
Ignore config.h