]>
git.ipfire.org Git - thirdparty/ccache.git/log
Joel Rosdahl [Thu, 7 Jan 2010 07:24:19 +0000 (08:24 +0100)]
Fix typo
Joel Rosdahl [Thu, 7 Jan 2010 07:24:04 +0000 (08:24 +0100)]
Improve NEWS
Joel Rosdahl [Wed, 6 Jan 2010 20:27:48 +0000 (21:27 +0100)]
Include NEWS in the dist archive
Joel Rosdahl [Wed, 6 Jan 2010 14:38:01 +0000 (15:38 +0100)]
Consistently refer to options, not flags
Joel Rosdahl [Wed, 6 Jan 2010 14:37:18 +0000 (15:37 +0100)]
Document CCACHE_BASEDIR
Joel Rosdahl [Wed, 6 Jan 2010 14:31:28 +0000 (15:31 +0100)]
Sort environment variable documentation entries
Joel Rosdahl [Wed, 6 Jan 2010 14:24:24 +0000 (15:24 +0100)]
Truncate the manifest if there are too many object entries
Normally, there shouldn't be many object entries in the manifest since new
entries are added only if an include file has changed but not the source file,
and you typically change source files more often than header files. However,
it's certainly possible to imagine cases where the manifest will grow large
(for instance, a generated header file that changes for every build), and this
must be taken care of since processing an ever growing manifest eventually will
take too much time. A good way of solving this would be to maintain the object
entries in LRU order and discarding the old ones. An easy way is to throw away
all entries when there are too many. Let's do that for now.
Joel Rosdahl [Wed, 6 Jan 2010 14:01:56 +0000 (15:01 +0100)]
Use uint32_t magic/version constants
Joel Rosdahl [Wed, 6 Jan 2010 13:53:29 +0000 (14:53 +0100)]
Create temporary manifest files in the directory they will end up in
See also commit
106566bb638d112826fafa1661259258ac6ac1f7 .
Joel Rosdahl [Wed, 6 Jan 2010 13:39:39 +0000 (14:39 +0100)]
Clarify cache size limit options' semantics
Joel Rosdahl [Wed, 6 Jan 2010 12:44:07 +0000 (13:44 +0100)]
Bail out on @file_with_options argument
Joel Rosdahl [Wed, 6 Jan 2010 12:39:45 +0000 (13:39 +0100)]
Improve handling of -imacros, -iprefix and -i*prefix* compiler options
Joel Rosdahl [Wed, 6 Jan 2010 11:26:58 +0000 (12:26 +0100)]
Fix flymake-mode support again
Joel Rosdahl [Tue, 5 Jan 2010 21:44:09 +0000 (22:44 +0100)]
Document direct mode
Joel Rosdahl [Tue, 5 Jan 2010 19:49:20 +0000 (20:49 +0100)]
Clarify new semantics of cache size settings
Joel Rosdahl [Tue, 5 Jan 2010 19:43:18 +0000 (20:43 +0100)]
Let compressed files get different hash sums than uncompressed
This is to avoid problems when older ccache versions (without compression
support) access the cache.
Joel Rosdahl [Tue, 5 Jan 2010 19:19:24 +0000 (20:19 +0100)]
CCACHE_NOCOMPRESS needs to be set in order to use hard links
Joel Rosdahl [Tue, 5 Jan 2010 17:57:47 +0000 (18:57 +0100)]
Add .gitignore
Joel Rosdahl [Mon, 4 Jan 2010 19:57:45 +0000 (20:57 +0100)]
Add compatibility notes
Joel Rosdahl [Thu, 31 Dec 2009 12:54:18 +0000 (13:54 +0100)]
Put dependency files in a subdirectory
Joel Rosdahl [Tue, 29 Dec 2009 23:25:09 +0000 (00:25 +0100)]
Add .PHONY target declarations
Joel Rosdahl [Tue, 29 Dec 2009 23:20:01 +0000 (00:20 +0100)]
Add distcheck make target
Joel Rosdahl [Tue, 29 Dec 2009 22:24:37 +0000 (23:24 +0100)]
Make build in separate build directory work again
Joel Rosdahl [Mon, 14 Dec 2009 21:31:28 +0000 (22:31 +0100)]
Unify comments when hashing source code to increase hit rate
Joel Rosdahl [Sun, 13 Dec 2009 16:03:46 +0000 (17:03 +0100)]
Use standard uint32_t type instead of uint32
Joel Rosdahl [Sun, 13 Dec 2009 15:23:16 +0000 (16:23 +0100)]
Improve handling of unnormalized CCACHE_BASEDIR path
Joel Rosdahl [Sun, 13 Dec 2009 15:01:29 +0000 (16:01 +0100)]
Remove no longer functional manage-cache.sh
Joel Rosdahl [Sun, 13 Dec 2009 14:59:42 +0000 (15:59 +0100)]
Improve error messages
Joel Rosdahl [Sun, 13 Dec 2009 14:11:17 +0000 (15:11 +0100)]
Implement installcheck make target
Joel Rosdahl [Sun, 13 Dec 2009 13:40:33 +0000 (14:40 +0100)]
Clean up Makefile and add dist target
Joel Rosdahl [Sun, 13 Dec 2009 13:35:08 +0000 (14:35 +0100)]
Remove generated files ccache.1 and web/ccache-man.html
yodl2html (version 2.15.1) doesn't seem to handle conversion to HTML
(anymore?), so disable it for now.
Joel Rosdahl [Sun, 13 Dec 2009 13:30:52 +0000 (14:30 +0100)]
Use non-deprecated itemization in ccache.yo
Joel Rosdahl [Sat, 12 Dec 2009 20:46:36 +0000 (21:46 +0100)]
Reenable .ii tests
Hopefully, it's OK to require a working C++ installation to run the tests.
Joel Rosdahl [Sat, 12 Dec 2009 20:43:46 +0000 (21:43 +0100)]
Also store preprocessor standard error output in .stderr file
This is needed because we don't run the preprocessor at all in direct mode.
Joel Rosdahl [Sat, 12 Dec 2009 20:27:11 +0000 (21:27 +0100)]
Don't create empty stderr files in the cache
Joel Rosdahl [Thu, 10 Dec 2009 21:19:00 +0000 (22:19 +0100)]
Make it possible to specify test suites to run on the command line
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