]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
16 years agoRemove unused CC variable from perf.sh command line
Joel Rosdahl [Wed, 3 Mar 2010 21:04:44 +0000 (22:04 +0100)] 
Remove unused CC variable from perf.sh command line

16 years agoMerge branch 'perf' of git://github.com/krajaratnam/ccache
Joel Rosdahl [Wed, 3 Mar 2010 21:00:27 +0000 (22:00 +0100)] 
Merge branch 'perf' of git://github.com/krajaratnam/ccache

* 'perf' of git://github.com/krajaratnam/ccache:
  Add perf target
  Mention perl/python in INSTALL

16 years agoDon't try to store file hash in manifest in read-only mode
Joel Rosdahl [Wed, 3 Mar 2010 20:59:12 +0000 (21:59 +0100)] 
Don't try to store file hash in manifest in read-only mode

16 years agoRemove forgotten debugging statement
Joel Rosdahl [Wed, 3 Mar 2010 19:47:39 +0000 (20:47 +0100)] 
Remove forgotten debugging statement

16 years agoAdd perf target
Kovarththanan Rajaratnam [Tue, 2 Mar 2010 06:04:36 +0000 (07:04 +0100)] 
Add perf target

16 years agoMention perl/python in INSTALL
Kovarththanan Rajaratnam [Tue, 2 Mar 2010 06:01:04 +0000 (07:01 +0100)] 
Mention perl/python in INSTALL

16 years agoUnset ccache version in ccache.spec
Joel Rosdahl [Mon, 1 Mar 2010 19:03:29 +0000 (20:03 +0100)] 
Unset ccache version in ccache.spec

16 years agoClean files in .deps instead of including them in the dist archive
Joel Rosdahl [Sun, 28 Feb 2010 20:54:39 +0000 (21:54 +0100)] 
Clean files in .deps instead of including them in the dist archive

16 years agoChange next version to 3.0pre1
Joel Rosdahl [Sun, 28 Feb 2010 20:54:21 +0000 (21:54 +0100)] 
Change next version to 3.0pre1

16 years agoPrepare for v3.0pre0 v3.0pre0
Joel Rosdahl [Sun, 28 Feb 2010 20:12:28 +0000 (21:12 +0100)] 
Prepare for v3.0pre0

16 years agoRemove .ii tests
Joel Rosdahl [Sun, 28 Feb 2010 19:43:35 +0000 (20:43 +0100)] 
Remove .ii tests

Removed .ii tests as some compilers (including newer versions of gcc) determine
which language to use based on .i/.ii extension, and C++ may not be installed.

16 years agoMake cleanup more robust by always deleting all siblings to the deleted file
Joel Rosdahl [Sun, 28 Feb 2010 18:07:40 +0000 (19:07 +0100)] 
Make cleanup more robust by always deleting all siblings to the deleted file

16 years agoAdd a get_extension utility function
Joel Rosdahl [Sun, 28 Feb 2010 17:23:07 +0000 (18:23 +0100)] 
Add a get_extension utility function

16 years agoAlways close(fd) as soon as file is mmap()'d.
Ramiro Polla [Sun, 28 Feb 2010 00:46:13 +0000 (21:46 -0300)] 
Always close(fd) as soon as file is mmap()'d.

16 years agoImprove NEWS
Joel Rosdahl [Sun, 28 Feb 2010 15:41:30 +0000 (16:41 +0100)] 
Improve NEWS

16 years agoRename str_basename() to basename()
Joel Rosdahl [Sun, 28 Feb 2010 15:30:08 +0000 (16:30 +0100)] 
Rename str_basename() to basename()

16 years agoImprove error message when failing to unlink a file to clean up
Joel Rosdahl [Sun, 28 Feb 2010 15:25:44 +0000 (16:25 +0100)] 
Improve error message when failing to unlink a file to clean up

16 years agoIntroduce remove_extension function and use it to calculate dependency filename
Joel Rosdahl [Sun, 28 Feb 2010 15:22:51 +0000 (16:22 +0100)] 
Introduce remove_extension function and use it to calculate dependency filename

16 years agoImprove description of get_home_directory()
Joel Rosdahl [Sun, 28 Feb 2010 13:53:30 +0000 (14:53 +0100)] 
Improve description of get_home_directory()

16 years agoMake format_file_hash() static
Kovarththanan Rajaratnam [Sun, 28 Feb 2010 08:42:08 +0000 (09:42 +0100)] 
Make format_file_hash() static

16 years agoRemove cc_log from get_home_directory()
Kovarththanan Rajaratnam [Sun, 28 Feb 2010 08:35:18 +0000 (09:35 +0100)] 
Remove cc_log from get_home_directory()

It's effectively a noop because 'cache_logfile' is NULL at this point of time, so we simply return immediately

16 years agoMark long_options[] as const
Kovarththanan Rajaratnam [Sun, 28 Feb 2010 08:23:00 +0000 (09:23 +0100)] 
Mark long_options[] as const

16 years agoReuse same variable for environment parsing
Kovarththanan Rajaratnam [Sun, 28 Feb 2010 08:21:39 +0000 (09:21 +0100)] 
Reuse same variable for environment parsing

16 years agoHoist CCACHE_NLEVELS into ccache()
Kovarththanan Rajaratnam [Sun, 28 Feb 2010 08:15:32 +0000 (09:15 +0100)] 
Hoist CCACHE_NLEVELS into ccache()

Parse environment variables upfront instead of burying them in helper functions

16 years agoAnother try at supporting systems without support for "extern inline"
Joel Rosdahl [Sun, 28 Feb 2010 13:27:45 +0000 (14:27 +0100)] 
Another try at supporting systems without support for "extern inline"

16 years agoMake fatal() exit like it should even if CCACHE_LOGFILE isn't set
Joel Rosdahl [Sun, 28 Feb 2010 13:14:06 +0000 (14:14 +0100)] 
Make fatal() exit like it should even if CCACHE_LOGFILE isn't set

16 years agoPortability: Define PWD if not defined
Joel Rosdahl [Sun, 28 Feb 2010 09:30:03 +0000 (10:30 +0100)] 
Portability: Define PWD if not defined

16 years agoPortability: Define explicit compilation rule to pick up CPPFLAGS on HP-UX
Joel Rosdahl [Sun, 28 Feb 2010 09:27:24 +0000 (10:27 +0100)] 
Portability: Define explicit compilation rule to pick up CPPFLAGS on HP-UX

16 years agoPortability: Check for "extern inline" support
Joel Rosdahl [Sun, 28 Feb 2010 09:17:43 +0000 (10:17 +0100)] 
Portability: Check for "extern inline" support

16 years agoPortability: Include headers to get O_CREAT and friends
Joel Rosdahl [Sat, 27 Feb 2010 23:23:27 +0000 (00:23 +0100)] 
Portability: Include headers to get O_CREAT and friends

16 years agoPortability: Use AC_C_INLINE to check for availability of the inline keyword
Joel Rosdahl [Sat, 27 Feb 2010 23:07:52 +0000 (00:07 +0100)] 
Portability: Use AC_C_INLINE to check for availability of the inline keyword

16 years agoPortability: Include headers to get O_RDONLY and friend
Joel Rosdahl [Sat, 27 Feb 2010 23:02:29 +0000 (00:02 +0100)] 
Portability: Include headers to get O_RDONLY and friend

16 years agoReformat NEWS
Joel Rosdahl [Sat, 27 Feb 2010 22:45:22 +0000 (23:45 +0100)] 
Reformat NEWS

16 years agoRemove unnecessary initialization of a static variable
Joel Rosdahl [Sat, 27 Feb 2010 22:37:19 +0000 (23:37 +0100)] 
Remove unnecessary initialization of a static variable

16 years agoPortability: Include sys/stat.h and fcntl.h to get O_RDONLY and friends
Joel Rosdahl [Sat, 27 Feb 2010 22:32:15 +0000 (23:32 +0100)] 
Portability: Include sys/stat.h and fcntl.h to get O_RDONLY and friends

16 years agoPortability: Let indexFor be a define instead of an inline function
Joel Rosdahl [Sat, 27 Feb 2010 22:27:48 +0000 (23:27 +0100)] 
Portability: Let indexFor be a define instead of an inline function

16 years agoRemove stray semicolon
Joel Rosdahl [Sat, 27 Feb 2010 22:21:52 +0000 (23:21 +0100)] 
Remove stray semicolon

16 years agoInclude sys/types.h in an attempt to please AIX
Joel Rosdahl [Sat, 27 Feb 2010 22:18:59 +0000 (23:18 +0100)] 
Include sys/types.h in an attempt to please AIX

16 years agoSimplify and correct calculation of default dependency file name
Joel Rosdahl [Sat, 27 Feb 2010 21:53:04 +0000 (22:53 +0100)] 
Simplify and correct calculation of default dependency file name

16 years agoRemove unnecessary NULL check
Joel Rosdahl [Sat, 27 Feb 2010 21:22:03 +0000 (22:22 +0100)] 
Remove unnecessary NULL check

16 years agoImprove display of max size display values
Joel Rosdahl [Sat, 27 Feb 2010 13:01:14 +0000 (14:01 +0100)] 
Improve display of max size display values

16 years agoTreat warnings as errors in developer mode
Joel Rosdahl [Sat, 27 Feb 2010 12:40:12 +0000 (13:40 +0100)] 
Treat warnings as errors in developer mode

16 years agoUse default cache size of 1 GiB
Joel Rosdahl [Sat, 27 Feb 2010 12:30:33 +0000 (13:30 +0100)] 
Use default cache size of 1 GiB

16 years agoMention that you may want to run "ccache --clean" after upgrading
Joel Rosdahl [Sat, 27 Feb 2010 12:24:08 +0000 (13:24 +0100)] 
Mention that you may want to run "ccache --clean" after upgrading

16 years agoMan page tweaks
Joel Rosdahl [Sat, 27 Feb 2010 12:23:54 +0000 (13:23 +0100)] 
Man page tweaks

16 years agoSort option descriptions in man page
Joel Rosdahl [Sat, 27 Feb 2010 11:35:01 +0000 (12:35 +0100)] 
Sort option descriptions in man page

16 years agoUpdate usage and options texts in man page
Joel Rosdahl [Sat, 27 Feb 2010 11:32:41 +0000 (12:32 +0100)] 
Update usage and options texts in man page

16 years agoBail out on too hard compiler option -save-temps
Joel Rosdahl [Sat, 27 Feb 2010 11:28:21 +0000 (12:28 +0100)] 
Bail out on too hard compiler option -save-temps

16 years agoSort unsupported compiler options
Joel Rosdahl [Sat, 27 Feb 2010 11:27:55 +0000 (12:27 +0100)] 
Sort unsupported compiler options

16 years agoRemove bug references from NEWS; they are not very interesting
Joel Rosdahl [Sat, 27 Feb 2010 11:21:10 +0000 (12:21 +0100)] 
Remove bug references from NEWS; they are not very interesting

16 years agoMinor improvements of test.sh
Joel Rosdahl [Sat, 27 Feb 2010 11:15:19 +0000 (12:15 +0100)] 
Minor improvements of test.sh

16 years agoImprove detection of program name being MYNAME
Joel Rosdahl [Sat, 27 Feb 2010 09:56:22 +0000 (10:56 +0100)] 
Improve detection of program name being MYNAME

16 years agoIntroduce string constants for usage and version texts
Joel Rosdahl [Sat, 27 Feb 2010 09:44:08 +0000 (10:44 +0100)] 
Introduce string constants for usage and version texts

16 years agoFix potential use of NULL cache_dir
Joel Rosdahl [Sat, 27 Feb 2010 09:06:55 +0000 (10:06 +0100)] 
Fix potential use of NULL cache_dir

16 years agoInclude stdarg.h to make Tru64 happy
Joel Rosdahl [Fri, 26 Feb 2010 21:34:56 +0000 (22:34 +0100)] 
Include stdarg.h to make Tru64 happy

16 years agoOnly clean non-dev stuff in Makefile's clean target
Joel Rosdahl [Fri, 26 Feb 2010 21:22:00 +0000 (22:22 +0100)] 
Only clean non-dev stuff in Makefile's clean target

16 years agoInclude some more system headers to make Solaris happy
Joel Rosdahl [Fri, 26 Feb 2010 21:15:26 +0000 (22:15 +0100)] 
Include some more system headers to make Solaris happy

16 years agoPortability: don't require GNU make
Joel Rosdahl [Fri, 26 Feb 2010 20:24:09 +0000 (21:24 +0100)] 
Portability: don't require GNU make

The part of Makefile.in that requires GNU make has been split into dev.mk.in,
and the configure script has learned a new --enable-dev option that makes
Makefile include dev.mk. The configure script doesn't check for GNU make
anymore. There is also a new configure-dev convenience script that runs
configure with --enable-dev.

16 years agoBundle (a subset of) zlib 1.2.3 for portability
Joel Rosdahl [Thu, 25 Feb 2010 22:27:58 +0000 (23:27 +0100)] 
Bundle (a subset of) zlib 1.2.3 for portability

The bundled zlib copy is only used when no suitable system zlib can be found.

16 years agoImprove log message
Joel Rosdahl [Thu, 25 Feb 2010 07:19:51 +0000 (08:19 +0100)] 
Improve log message

16 years agoPrefix log messages with PID
Joel Rosdahl [Wed, 24 Feb 2010 21:17:53 +0000 (22:17 +0100)] 
Prefix log messages with PID

16 years agoImprove log messages
Joel Rosdahl [Wed, 24 Feb 2010 19:55:06 +0000 (20:55 +0100)] 
Improve log messages

16 years agoLet cc_log and fatal add a newline character to the message
Joel Rosdahl [Wed, 24 Feb 2010 19:46:17 +0000 (20:46 +0100)] 
Let cc_log and fatal add a newline character to the message

16 years agoRemove test.sh's dependency on Perl
Joel Rosdahl [Tue, 23 Feb 2010 21:23:36 +0000 (22:23 +0100)] 
Remove test.sh's dependency on Perl

16 years agoMerge branch 'md4_cleanup' of git://github.com/krajaratnam/ccache
Joel Rosdahl [Tue, 23 Feb 2010 21:08:22 +0000 (22:08 +0100)] 
Merge branch 'md4_cleanup' of git://github.com/krajaratnam/ccache

* 'md4_cleanup' of git://github.com/krajaratnam/ccache:
  use size_t when we refer to memory sizes
  Remove unused 'void mdfour(unsigned char *out, const unsigned char *in, int n)'
  Remove incorrect assumption
  Remove disabled md4 test code

16 years agoMinor man page improvements
Joel Rosdahl [Mon, 22 Feb 2010 22:21:28 +0000 (23:21 +0100)] 
Minor man page improvements

16 years agouse size_t when we refer to memory sizes
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 21:58:41 +0000 (22:58 +0100)] 
use size_t when we refer to memory sizes

16 years agoRemove unused 'void mdfour(unsigned char *out, const unsigned char *in, int n)'
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 21:40:20 +0000 (22:40 +0100)] 
Remove unused 'void mdfour(unsigned char *out, const unsigned char *in, int n)'

16 years agoRemove incorrect assumption
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 21:30:23 +0000 (22:30 +0100)] 
Remove incorrect assumption

This first revision of this file assummed that int = 32bits, but we now use <inttypes.h> and no longer have to make that (incorrect) assumption.

16 years agoRemove disabled md4 test code
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 21:23:20 +0000 (22:23 +0100)] 
Remove disabled md4 test code

This piece of test code was dead and in addition we don't have any framework for testing it. Any test of this module should probably be done upstream instead (Samba)

16 years agoMerge CCACHE_HASH_COMPILER/CCACHE_NOHASH_SIZE_MTIME into CCACHE_COMPILERCHECK
Joel Rosdahl [Mon, 22 Feb 2010 21:40:50 +0000 (22:40 +0100)] 
Merge CCACHE_HASH_COMPILER/CCACHE_NOHASH_SIZE_MTIME into CCACHE_COMPILERCHECK

16 years agoAdd a hash_size field to the manifest on-disk format
Joel Rosdahl [Mon, 22 Feb 2010 20:45:53 +0000 (21:45 +0100)] 
Add a hash_size field to the manifest on-disk format

This is mainly done to facilitate introspection of manifest files in the future
if we add support for hash algorithms with other hash sizes than 16 bytes.

16 years agoAdd missing newlines to cc_logs
Joel Rosdahl [Mon, 22 Feb 2010 20:27:31 +0000 (21:27 +0100)] 
Add missing newlines to cc_logs

16 years agoINSTALL: the from repository instructions ends abruptly. Finish it properly
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 19:02:20 +0000 (20:02 +0100)] 
INSTALL: the from repository instructions ends abruptly. Finish it properly

16 years agoINSTALL: add perl (for the testsuite)
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 18:58:05 +0000 (19:58 +0100)] 
INSTALL: add perl (for the testsuite)

16 years agoINSTALL: add autoconf
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 18:56:36 +0000 (19:56 +0100)] 
INSTALL: add autoconf

16 years agoMerge branch 'cleanup' of git://github.com/krajaratnam/ccache
Joel Rosdahl [Mon, 22 Feb 2010 07:39:24 +0000 (08:39 +0100)] 
Merge branch 'cleanup' of git://github.com/krajaratnam/ccache

* 'cleanup' of git://github.com/krajaratnam/ccache:
  ccache.c: mark extensions array as const
  cache.c: mark a few variables as static

16 years agoQuote statistics key in failed test output for readability
Joel Rosdahl [Mon, 22 Feb 2010 07:37:25 +0000 (08:37 +0100)] 
Quote statistics key in failed test output for readability

16 years agoHandle missing or empty object file from compiler properly
Joel Rosdahl [Mon, 22 Feb 2010 07:36:40 +0000 (08:36 +0100)] 
Handle missing or empty object file from compiler properly

16 years agoLog command-line prefix
Joel Rosdahl [Mon, 22 Feb 2010 07:34:56 +0000 (08:34 +0100)] 
Log command-line prefix

16 years agoAdd .o suffix to stored object files for consistency
Joel Rosdahl [Sun, 21 Feb 2010 20:14:51 +0000 (21:14 +0100)] 
Add .o suffix to stored object files for consistency

16 years agoImprove upgrading notes in NEWS
Joel Rosdahl [Sun, 21 Feb 2010 20:12:55 +0000 (21:12 +0100)] 
Improve upgrading notes in NEWS

16 years agoCorrectly lock stats file for reading
Joel Rosdahl [Sun, 21 Feb 2010 20:01:02 +0000 (21:01 +0100)] 
Correctly lock stats file for reading

16 years agoAdd comments about the stats files
Joel Rosdahl [Sun, 21 Feb 2010 19:58:58 +0000 (20:58 +0100)] 
Add comments about the stats files

16 years agoCorrectly declare nullary functions
Joel Rosdahl [Sun, 21 Feb 2010 19:57:57 +0000 (20:57 +0100)] 
Correctly declare nullary functions

16 years agoClean up some constants
Joel Rosdahl [Sun, 21 Feb 2010 18:42:39 +0000 (19:42 +0100)] 
Clean up some constants

16 years agoccache.c: mark extensions array as const
Kovarththanan Rajaratnam [Sun, 21 Feb 2010 18:24:48 +0000 (19:24 +0100)] 
ccache.c: mark extensions array as const

16 years agocache.c: mark a few variables as static
Kovarththanan Rajaratnam [Sun, 21 Feb 2010 18:20:59 +0000 (19:20 +0100)] 
cache.c: mark a few variables as static

16 years agoRemove obsolete STATS_VERSION
Joel Rosdahl [Sun, 21 Feb 2010 18:30:05 +0000 (19:30 +0100)] 
Remove obsolete STATS_VERSION

16 years agoImprove naming of global variables
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.

16 years agoClarify hash_result() semantics
Joel Rosdahl [Sun, 21 Feb 2010 17:04:24 +0000 (18:04 +0100)] 
Clarify hash_result() semantics

16 years agoDon't remove the test directory upon test failure to ease troubleshooting
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

16 years agoForce new hash sums
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.

16 years agoSort environment variables in the man page
Joel Rosdahl [Sat, 20 Feb 2010 23:22:30 +0000 (00:22 +0100)] 
Sort environment variables in the man page

16 years agoUpdate NEWS with info from the bug tracker
Joel Rosdahl [Sat, 20 Feb 2010 15:04:07 +0000 (16:04 +0100)] 
Update NEWS with info from the bug tracker

16 years agoBail out on profiling flags
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.

16 years agoClear out env so "make test" always works
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.

16 years agoExpand license notice in the --version text
Joel Rosdahl [Wed, 17 Feb 2010 21:47:50 +0000 (22:47 +0100)] 
Expand license notice in the --version text

16 years agoUse "perl -pi -e" instead of "sed -i" to increase portability
Joel Rosdahl [Wed, 17 Feb 2010 20:20:06 +0000 (21:20 +0100)] 
Use "perl -pi -e" instead of "sed -i" to increase portability

16 years agoUpdate copyright notices
Joel Rosdahl [Wed, 17 Feb 2010 20:01:34 +0000 (21:01 +0100)] 
Update copyright notices