]>
git.ipfire.org Git - thirdparty/ccache.git/log
Joel Rosdahl [Mon, 22 Feb 2010 07:37:25 +0000 (08:37 +0100)]
Quote statistics key in failed test output for readability
Joel Rosdahl [Mon, 22 Feb 2010 07:36:40 +0000 (08:36 +0100)]
Handle missing or empty object file from compiler properly
Joel Rosdahl [Mon, 22 Feb 2010 07:34:56 +0000 (08:34 +0100)]
Log command-line prefix
Joel Rosdahl [Sun, 21 Feb 2010 20:14:51 +0000 (21:14 +0100)]
Add .o suffix to stored object files for consistency
Joel Rosdahl [Sun, 21 Feb 2010 20:12:55 +0000 (21:12 +0100)]
Improve upgrading notes in NEWS
Joel Rosdahl [Sun, 21 Feb 2010 20:01:02 +0000 (21:01 +0100)]
Correctly lock stats file for reading
Joel Rosdahl [Sun, 21 Feb 2010 19:58:58 +0000 (20:58 +0100)]
Add comments about the stats files
Joel Rosdahl [Sun, 21 Feb 2010 19:57:57 +0000 (20:57 +0100)]
Correctly declare nullary functions
Joel Rosdahl [Sun, 21 Feb 2010 18:42:39 +0000 (19:42 +0100)]
Clean up some constants
Kovarththanan Rajaratnam [Sun, 21 Feb 2010 18:24:48 +0000 (19:24 +0100)]
ccache.c: mark extensions array as const
Kovarththanan Rajaratnam [Sun, 21 Feb 2010 18:20:59 +0000 (19:20 +0100)]
cache.c: mark a few variables as static
Joel Rosdahl [Sun, 21 Feb 2010 18:30:05 +0000 (19:30 +0100)]
Remove obsolete STATS_VERSION
Joel Rosdahl [Sun, 21 Feb 2010 17:05:12 +0000 (18:05 +0100)]
Improve naming of global variables
Now, the output_* variables contain paths to files to be created by the
compiler and the cached_* variables contain paths to files in the cache
directory.
Joel Rosdahl [Sun, 21 Feb 2010 17:04:24 +0000 (18:04 +0100)]
Clarify hash_result() semantics
Joel Rosdahl [Sun, 21 Feb 2010 17:04:02 +0000 (18:04 +0100)]
Don't remove the test directory upon test failure to ease troubleshooting
Joel Rosdahl [Sun, 21 Feb 2010 09:03:42 +0000 (10:03 +0100)]
Force new hash sums
All hash sums will from now on be different from those calculated by ccache
2.4, instead of only hash sums for compressed files. This makes hash sums for
compressed and uncompressed files equal again, which reopens for conversion
between compressed and uncompressed files, should the need arise.
Joel Rosdahl [Sat, 20 Feb 2010 23:22:30 +0000 (00:22 +0100)]
Sort environment variables in the man page
Joel Rosdahl [Sat, 20 Feb 2010 15:04:07 +0000 (16:04 +0100)]
Update NEWS with info from the bug tracker
Clemens Rabe [Sat, 20 Feb 2010 09:19:33 +0000 (10:19 +0100)]
Bail out on profiling flags
GCCs options -fprofile-generate and -fprofile-use are used for profile guided
optimization. It depends on the ability to locate the profile data files
(.gcda) after running the executable with the training data. However, ccache
prevents the compiler from finding the correct profile data file. Therefore the
following patch disables the caching when one of the -fprofile-generate
-fprofile-use flags is found.
Owen Mann [Sat, 20 Feb 2010 08:55:32 +0000 (09:55 +0100)]
Clear out env so "make test" always works
Fix for bug #7161.
Joel Rosdahl [Wed, 17 Feb 2010 21:47:50 +0000 (22:47 +0100)]
Expand license notice in the --version text
Joel Rosdahl [Wed, 17 Feb 2010 20:20:06 +0000 (21:20 +0100)]
Use "perl -pi -e" instead of "sed -i" to increase portability
Joel Rosdahl [Wed, 17 Feb 2010 20:01:34 +0000 (21:01 +0100)]
Update copyright notices
Joel Rosdahl [Wed, 17 Feb 2010 19:53:05 +0000 (20:53 +0100)]
Remove standard includes from ccache.h
Joel Rosdahl [Wed, 17 Feb 2010 19:08:13 +0000 (20:08 +0100)]
Move utimes/utime into an update_mtime function
Joel Rosdahl [Wed, 17 Feb 2010 18:49:54 +0000 (19:49 +0100)]
Use our own getopt_long
Joel Rosdahl [Wed, 17 Feb 2010 18:44:48 +0000 (19:44 +0100)]
Make getopt_long prettier and more standalone
Joel Rosdahl [Wed, 17 Feb 2010 18:13:27 +0000 (19:13 +0100)]
Add getopt_long implementation borrowed from PostgreSQL
Joel Rosdahl [Mon, 15 Feb 2010 21:59:05 +0000 (22:59 +0100)]
Extracted common dist archive build commands into a variable
Joel Rosdahl [Mon, 15 Feb 2010 20:54:16 +0000 (21:54 +0100)]
Support systems without strndup
Joel Rosdahl [Mon, 15 Feb 2010 20:34:45 +0000 (21:34 +0100)]
Make configure hint about which make to run
Joel Rosdahl [Mon, 15 Feb 2010 07:42:28 +0000 (08:42 +0100)]
Don't treat missing ccache.1 as an error when installing
Joel Rosdahl [Sun, 14 Feb 2010 09:30:17 +0000 (10:30 +0100)]
Sorted header and funcs lists in configure.ac
Joel Rosdahl [Sun, 14 Feb 2010 09:25:49 +0000 (10:25 +0100)]
Require GNU make for now
Joel Rosdahl [Sun, 14 Feb 2010 09:20:59 +0000 (10:20 +0100)]
Remove references to the web directory
Joel Rosdahl [Sun, 14 Feb 2010 09:19:00 +0000 (10:19 +0100)]
Use $(MAKE) to invoke submakes
Joel Rosdahl [Sun, 14 Feb 2010 08:53:59 +0000 (09:53 +0100)]
Clean up configure.ac
Joel Rosdahl [Fri, 12 Feb 2010 21:04:43 +0000 (22:04 +0100)]
Remove obsolete web directory
Joel Rosdahl [Fri, 12 Feb 2010 21:04:18 +0000 (22:04 +0100)]
Merge remote branch 'origin/master'
* origin/master:
announce new maintainer and add git instructions
Joel Rosdahl [Sat, 30 Jan 2010 14:38:25 +0000 (15:38 +0100)]
Remove stderr file from the preprocessor when we get a preprocessed cache hit
Joel Rosdahl [Mon, 25 Jan 2010 21:51:15 +0000 (22:51 +0100)]
Add some simple README and INSTALL files
Joel Rosdahl [Wed, 20 Jan 2010 19:45:04 +0000 (20:45 +0100)]
Bump version to 3.0pre0
Joel Rosdahl [Wed, 20 Jan 2010 18:29:59 +0000 (19:29 +0100)]
Made it possible to set MYNAME when compiling
Andrew Tridgell [Wed, 27 Jan 2010 06:58:16 +0000 (17:58 +1100)]
announce new maintainer and add git instructions
Joel Rosdahl is now the maintainer of ccache. Best wishes Joel!
Joel Rosdahl [Sun, 17 Jan 2010 16:40:22 +0000 (17:40 +0100)]
Handle empty arguments correctly
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