]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
15 years agoFix typo
Joel Rosdahl [Thu, 7 Jan 2010 07:24:19 +0000 (08:24 +0100)] 
Fix typo

15 years agoImprove NEWS
Joel Rosdahl [Thu, 7 Jan 2010 07:24:04 +0000 (08:24 +0100)] 
Improve NEWS

15 years agoInclude NEWS in the dist archive
Joel Rosdahl [Wed, 6 Jan 2010 20:27:48 +0000 (21:27 +0100)] 
Include NEWS in the dist archive

15 years agoConsistently refer to options, not flags
Joel Rosdahl [Wed, 6 Jan 2010 14:38:01 +0000 (15:38 +0100)] 
Consistently refer to options, not flags

15 years agoDocument CCACHE_BASEDIR
Joel Rosdahl [Wed, 6 Jan 2010 14:37:18 +0000 (15:37 +0100)] 
Document CCACHE_BASEDIR

15 years agoSort environment variable documentation entries
Joel Rosdahl [Wed, 6 Jan 2010 14:31:28 +0000 (15:31 +0100)] 
Sort environment variable documentation entries

15 years agoTruncate the manifest if there are too many object 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.

15 years agoUse uint32_t magic/version constants
Joel Rosdahl [Wed, 6 Jan 2010 14:01:56 +0000 (15:01 +0100)] 
Use uint32_t magic/version constants

15 years agoCreate temporary manifest files in the directory they will end up in
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.

15 years agoClarify cache size limit options' semantics
Joel Rosdahl [Wed, 6 Jan 2010 13:39:39 +0000 (14:39 +0100)] 
Clarify cache size limit options' semantics

15 years agoBail out on @file_with_options argument
Joel Rosdahl [Wed, 6 Jan 2010 12:44:07 +0000 (13:44 +0100)] 
Bail out on @file_with_options argument

15 years agoImprove handling of -imacros, -iprefix and -i*prefix* compiler options
Joel Rosdahl [Wed, 6 Jan 2010 12:39:45 +0000 (13:39 +0100)] 
Improve handling of -imacros, -iprefix and -i*prefix* compiler options

15 years agoFix flymake-mode support again
Joel Rosdahl [Wed, 6 Jan 2010 11:26:58 +0000 (12:26 +0100)] 
Fix flymake-mode support again

15 years agoDocument direct mode
Joel Rosdahl [Tue, 5 Jan 2010 21:44:09 +0000 (22:44 +0100)] 
Document direct mode

15 years agoClarify new semantics of cache size settings
Joel Rosdahl [Tue, 5 Jan 2010 19:49:20 +0000 (20:49 +0100)] 
Clarify new semantics of cache size settings

15 years agoLet compressed files get different hash sums than uncompressed
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.

15 years agoCCACHE_NOCOMPRESS needs to be set in order to use hard links
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

15 years agoAdd .gitignore
Joel Rosdahl [Tue, 5 Jan 2010 17:57:47 +0000 (18:57 +0100)] 
Add .gitignore

15 years agoAdd compatibility notes
Joel Rosdahl [Mon, 4 Jan 2010 19:57:45 +0000 (20:57 +0100)] 
Add compatibility notes

15 years agoPut dependency files in a subdirectory
Joel Rosdahl [Thu, 31 Dec 2009 12:54:18 +0000 (13:54 +0100)] 
Put dependency files in a subdirectory

15 years agoAdd .PHONY target declarations
Joel Rosdahl [Tue, 29 Dec 2009 23:25:09 +0000 (00:25 +0100)] 
Add .PHONY target declarations

15 years agoAdd distcheck make target
Joel Rosdahl [Tue, 29 Dec 2009 23:20:01 +0000 (00:20 +0100)] 
Add distcheck make target

15 years agoMake build in separate build directory work again
Joel Rosdahl [Tue, 29 Dec 2009 22:24:37 +0000 (23:24 +0100)] 
Make build in separate build directory work again

15 years agoUnify comments when hashing source code to increase hit rate
Joel Rosdahl [Mon, 14 Dec 2009 21:31:28 +0000 (22:31 +0100)] 
Unify comments when hashing source code to increase hit rate

15 years agoUse standard uint32_t type instead of uint32
Joel Rosdahl [Sun, 13 Dec 2009 16:03:46 +0000 (17:03 +0100)] 
Use standard uint32_t type instead of uint32

15 years agoImprove handling of unnormalized CCACHE_BASEDIR path
Joel Rosdahl [Sun, 13 Dec 2009 15:23:16 +0000 (16:23 +0100)] 
Improve handling of unnormalized CCACHE_BASEDIR path

15 years agoRemove no longer functional manage-cache.sh
Joel Rosdahl [Sun, 13 Dec 2009 15:01:29 +0000 (16:01 +0100)] 
Remove no longer functional manage-cache.sh

15 years agoImprove error messages
Joel Rosdahl [Sun, 13 Dec 2009 14:59:42 +0000 (15:59 +0100)] 
Improve error messages

15 years agoImplement installcheck make target
Joel Rosdahl [Sun, 13 Dec 2009 14:11:17 +0000 (15:11 +0100)] 
Implement installcheck make target

15 years agoClean up Makefile and add dist target
Joel Rosdahl [Sun, 13 Dec 2009 13:40:33 +0000 (14:40 +0100)] 
Clean up Makefile and add dist target

15 years agoRemove generated files ccache.1 and web/ccache-man.html
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.

15 years agoUse non-deprecated itemization in ccache.yo
Joel Rosdahl [Sun, 13 Dec 2009 13:30:52 +0000 (14:30 +0100)] 
Use non-deprecated itemization in ccache.yo

15 years agoReenable .ii tests
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.

15 years agoAlso store preprocessor standard error output in .stderr file
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.

15 years agoDon't create empty stderr files in the cache
Joel Rosdahl [Sat, 12 Dec 2009 20:27:11 +0000 (21:27 +0100)] 
Don't create empty stderr files in the cache

15 years agoMake it possible to specify test suites to run on the command line
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

15 years agoUse x_asprintf() instead of asprintf() + fatal()
Joel Rosdahl [Thu, 10 Dec 2009 20:55:30 +0000 (21:55 +0100)] 
Use x_asprintf() instead of asprintf() + fatal()

15 years agoPut temporary files in a subdirectory of the cache directory
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.

15 years agoFix statistics and cache cleanup for files generated by direct mode
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.

15 years agoHandle missing dependency file in cache correctly
Joel Rosdahl [Wed, 9 Dec 2009 19:08:06 +0000 (20:08 +0100)] 
Handle missing dependency file in cache correctly

15 years agoStore 32-bit unsigned integers in manifest and make manifest files compressed
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

15 years agoImprove copy_file and move_file functions
Joel Rosdahl [Sun, 6 Dec 2009 15:14:45 +0000 (16:14 +0100)] 
Improve copy_file and move_file functions

15 years agoRequire zlib
Joel Rosdahl [Sun, 6 Dec 2009 14:39:50 +0000 (15:39 +0100)] 
Require zlib

15 years agoAvoid warning from autoconf by adding datarootdir assignment to Makefile.in
Joel Rosdahl [Sun, 6 Dec 2009 14:25:07 +0000 (15:25 +0100)] 
Avoid warning from autoconf by adding datarootdir assignment to Makefile.in

15 years agoCorrectly handle direct mode hit, missing object file and differing cpp hash
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

15 years agoRemove silly log message
Joel Rosdahl [Sat, 5 Dec 2009 10:56:01 +0000 (11:56 +0100)] 
Remove silly log message

15 years agoRewrite include directory option arguments into relative to get better hit rate
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.

15 years agoRewrite dependency file path to relative as well
Joel Rosdahl [Sat, 5 Dec 2009 09:58:38 +0000 (10:58 +0100)] 
Rewrite dependency file path to relative as well

15 years agoAdd support for -Wp,-MD and -Wp,-MMD flags
Joel Rosdahl [Wed, 2 Dec 2009 18:56:17 +0000 (19:56 +0100)] 
Add support for -Wp,-MD and -Wp,-MMD flags

15 years agoPrint entry counts in dump-manifest
Joel Rosdahl [Wed, 2 Dec 2009 18:37:28 +0000 (19:37 +0100)] 
Print entry counts in dump-manifest

15 years agoRewrite absolute paths under CCACHE_BASEDIR to relative
Joel Rosdahl [Thu, 26 Nov 2009 22:36:19 +0000 (23:36 +0100)] 
Rewrite absolute paths under CCACHE_BASEDIR to relative

15 years agoDon't put duplicate object file entries in the manifest
Joel Rosdahl [Thu, 26 Nov 2009 19:53:29 +0000 (20:53 +0100)] 
Don't put duplicate object file entries in the manifest

15 years agoLet direct mode create dependency file too
Joel Rosdahl [Sun, 22 Nov 2009 20:13:32 +0000 (21:13 +0100)] 
Let direct mode create dependency file too

15 years agoImprove logging
Joel Rosdahl [Sat, 21 Nov 2009 10:30:45 +0000 (11:30 +0100)] 
Improve logging

15 years agoFix bad memory access spotted by Valgrind
Joel Rosdahl [Sat, 21 Nov 2009 09:34:04 +0000 (10:34 +0100)] 
Fix bad memory access spotted by Valgrind

15 years agoSimple performance benchmark script
Joel Rosdahl [Sat, 14 Nov 2009 17:26:44 +0000 (18:26 +0100)] 
Simple performance benchmark script

15 years agoFirst working version of the direct mode
Joel Rosdahl [Sat, 14 Nov 2009 15:14:55 +0000 (16:14 +0100)] 
First working version of the direct mode

15 years agoLog fatal messages both to stderr and log file
Joel Rosdahl [Thu, 12 Nov 2009 18:58:09 +0000 (19:58 +0100)] 
Log fatal messages both to stderr and log file

15 years agoAdd support for dynamic dependencies on header files
Joel Rosdahl [Sun, 8 Nov 2009 19:39:41 +0000 (20:39 +0100)] 
Add support for dynamic dependencies on header files

15 years agoLet hash_* functions take a hash context so that they are reusable
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

15 years agoExport variables in test.sh to make tests work properly
Joel Rosdahl [Sun, 8 Nov 2009 09:30:41 +0000 (10:30 +0100)] 
Export variables in test.sh to make tests work properly

15 years agoFix tab usage
Joel Rosdahl [Sat, 7 Nov 2009 08:12:20 +0000 (09:12 +0100)] 
Fix tab usage

15 years agoRemove trailing whitespace
Joel Rosdahl [Sat, 7 Nov 2009 08:09:39 +0000 (09:09 +0100)] 
Remove trailing whitespace

15 years agoResync ccache.yo with ccache.1
Joel Rosdahl [Thu, 5 Nov 2009 22:20:48 +0000 (23:20 +0100)] 
Resync ccache.yo with ccache.1

15 years agoRename configure.in to configure.ac
Joel Rosdahl [Tue, 3 Nov 2009 21:57:52 +0000 (22:57 +0100)] 
Rename configure.in to configure.ac

15 years agoRemove generated files configure and config.h.in
Joel Rosdahl [Tue, 3 Nov 2009 21:57:24 +0000 (22:57 +0100)] 
Remove generated files configure and config.h.in

15 years agoDon't hash CCACHE_PREFIX
Joel Rosdahl [Mon, 2 Nov 2009 18:01:12 +0000 (19:01 +0100)] 
Don't hash CCACHE_PREFIX

15 years agoFix indentation
Joel Rosdahl [Mon, 2 Nov 2009 17:52:30 +0000 (18:52 +0100)] 
Fix indentation

15 years agoAdd __attribute__ format declarations
Joel Rosdahl [Mon, 2 Nov 2009 17:11:35 +0000 (18:11 +0100)] 
Add __attribute__ format declarations

15 years agoAdd support for Emacs flymake-mode
Joel Rosdahl [Sun, 1 Nov 2009 18:49:59 +0000 (19:49 +0100)] 
Add support for Emacs flymake-mode

15 years agoBail out on --coverage and -fprofile-arcs
Joel Rosdahl [Sun, 1 Nov 2009 18:46:41 +0000 (19:46 +0100)] 
Bail out on --coverage and -fprofile-arcs

15 years agoAdd AC_DEFINE of ENABLE_ZLIB to avoid autoconf warning
Joel Rosdahl [Sun, 1 Nov 2009 18:45:05 +0000 (19:45 +0100)] 
Add AC_DEFINE of ENABLE_ZLIB to avoid autoconf warning

15 years agoStop on error in autogen.sh
Joel Rosdahl [Sun, 1 Nov 2009 18:44:19 +0000 (19:44 +0100)] 
Stop on error in autogen.sh

15 years agoRemove .cvsignore
Joel Rosdahl [Sun, 1 Nov 2009 18:44:01 +0000 (19:44 +0100)] 
Remove .cvsignore

15 years agoUpdate NEWS
Joel Rosdahl [Sun, 1 Nov 2009 19:17:39 +0000 (20:17 +0100)] 
Update NEWS

15 years agoFix GCC 4.3 warnings
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>.

15 years agoCorrect documentation about hard links
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>.

15 years agoDetect and report permission failure for "ccache -F/-M"
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>.

15 years agoUse utimes(3) instead of utime(3) to avoid truncating timestamps
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>.

15 years agoCache clean-up fix
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>.

15 years agoCreate CACHEDIR.TAG file
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>.

15 years agoFix handling of the -MD and -MDD options
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

15 years agoFix NFS issues
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>.

15 years agoAdd support for long command-line options
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.

15 years agoUse zlib compression for the cached files
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/>.

15 years agoImprove detection of missing home directory
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.

15 years agoAdd NEWS file
Joel Rosdahl [Sun, 1 Nov 2009 18:36:17 +0000 (19:36 +0100)] 
Add NEWS file

18 years agoccache can't handle test coverage
Andrew Tridgell [Wed, 28 Feb 2007 04:24:04 +0000 (05:24 +0100)] 
ccache can't handle test coverage

18 years agounset CCACHE_DISABLE so ccache on build farm with lcov is OK
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

19 years agofixed a bug in x_realloc()
Andrew Tridgell [Mon, 17 Jul 2006 03:41:12 +0000 (05:41 +0200)] 
fixed a bug in x_realloc()

19 years agomake sure we cleanup any tmp files leftover from dead ccache runs
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

19 years agomake ccache more friendly to the kernels directory layout, by creating
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)

19 years agoHave the ccache Makefile obey the settings of the CPPFLAGS and LDFLAGS
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

19 years agoOne more.
Tim Potter [Sun, 5 Feb 2006 00:05:28 +0000 (01:05 +0100)] 
One more.

19 years agoFix another link.
Tim Potter [Sun, 5 Feb 2006 00:04:17 +0000 (01:04 +0100)] 
Fix another link.

19 years agoFix link after rearranging ccache.samba.org virtual host.
Tim Potter [Sun, 5 Feb 2006 00:02:55 +0000 (01:02 +0100)] 
Fix link after rearranging ccache.samba.org virtual host.

20 years agoadded CCACHE_HASH_COMPILER option
Andrew Tridgell [Thu, 24 Nov 2005 21:54:09 +0000 (22:54 +0100)] 
added CCACHE_HASH_COMPILER option

20 years agoCCACHE_NOHASH_SIZE_MTIME patch from Jens Schweikhardt
Andrew Tridgell [Thu, 24 Nov 2005 21:10:08 +0000 (22:10 +0100)] 
CCACHE_NOHASH_SIZE_MTIME patch from Jens Schweikhardt

20 years agofixed build on FreeBSD
Andrew Tridgell [Mon, 25 Jul 2005 07:05:46 +0000 (09:05 +0200)] 
fixed build on FreeBSD

20 years agoprint a stderr warning on failure to find homedir
Andrew Tridgell [Wed, 18 May 2005 04:32:31 +0000 (06:32 +0200)] 
print a stderr warning on failure to find homedir