]>
git.ipfire.org Git - thirdparty/ccache.git/log
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
Joel Rosdahl [Sun, 28 Feb 2010 13:27:45 +0000 (14:27 +0100)]
Another try at supporting systems without support for "extern inline"
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
Joel Rosdahl [Sun, 28 Feb 2010 09:30:03 +0000 (10:30 +0100)]
Portability: Define PWD if not defined
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
Joel Rosdahl [Sun, 28 Feb 2010 09:17:43 +0000 (10:17 +0100)]
Portability: Check for "extern inline" support
Joel Rosdahl [Sat, 27 Feb 2010 23:23:27 +0000 (00:23 +0100)]
Portability: Include headers to get O_CREAT and friends
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
Joel Rosdahl [Sat, 27 Feb 2010 23:02:29 +0000 (00:02 +0100)]
Portability: Include headers to get O_RDONLY and friend
Joel Rosdahl [Sat, 27 Feb 2010 22:45:22 +0000 (23:45 +0100)]
Reformat NEWS
Joel Rosdahl [Sat, 27 Feb 2010 22:37:19 +0000 (23:37 +0100)]
Remove unnecessary initialization of a static variable
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
Joel Rosdahl [Sat, 27 Feb 2010 22:27:48 +0000 (23:27 +0100)]
Portability: Let indexFor be a define instead of an inline function
Joel Rosdahl [Sat, 27 Feb 2010 22:21:52 +0000 (23:21 +0100)]
Remove stray semicolon
Joel Rosdahl [Sat, 27 Feb 2010 22:18:59 +0000 (23:18 +0100)]
Include sys/types.h in an attempt to please AIX
Joel Rosdahl [Sat, 27 Feb 2010 21:53:04 +0000 (22:53 +0100)]
Simplify and correct calculation of default dependency file name
Joel Rosdahl [Sat, 27 Feb 2010 21:22:03 +0000 (22:22 +0100)]
Remove unnecessary NULL check
Joel Rosdahl [Sat, 27 Feb 2010 13:01:14 +0000 (14:01 +0100)]
Improve display of max size display values
Joel Rosdahl [Sat, 27 Feb 2010 12:40:12 +0000 (13:40 +0100)]
Treat warnings as errors in developer mode
Joel Rosdahl [Sat, 27 Feb 2010 12:30:33 +0000 (13:30 +0100)]
Use default cache size of 1 GiB
Joel Rosdahl [Sat, 27 Feb 2010 12:24:08 +0000 (13:24 +0100)]
Mention that you may want to run "ccache --clean" after upgrading
Joel Rosdahl [Sat, 27 Feb 2010 12:23:54 +0000 (13:23 +0100)]
Man page tweaks
Joel Rosdahl [Sat, 27 Feb 2010 11:35:01 +0000 (12:35 +0100)]
Sort option descriptions in man page
Joel Rosdahl [Sat, 27 Feb 2010 11:32:41 +0000 (12:32 +0100)]
Update usage and options texts in man page
Joel Rosdahl [Sat, 27 Feb 2010 11:28:21 +0000 (12:28 +0100)]
Bail out on too hard compiler option -save-temps
Joel Rosdahl [Sat, 27 Feb 2010 11:27:55 +0000 (12:27 +0100)]
Sort unsupported compiler options
Joel Rosdahl [Sat, 27 Feb 2010 11:21:10 +0000 (12:21 +0100)]
Remove bug references from NEWS; they are not very interesting
Joel Rosdahl [Sat, 27 Feb 2010 11:15:19 +0000 (12:15 +0100)]
Minor improvements of test.sh
Joel Rosdahl [Sat, 27 Feb 2010 09:56:22 +0000 (10:56 +0100)]
Improve detection of program name being MYNAME
Joel Rosdahl [Sat, 27 Feb 2010 09:44:08 +0000 (10:44 +0100)]
Introduce string constants for usage and version texts
Joel Rosdahl [Sat, 27 Feb 2010 09:06:55 +0000 (10:06 +0100)]
Fix potential use of NULL cache_dir
Joel Rosdahl [Fri, 26 Feb 2010 21:34:56 +0000 (22:34 +0100)]
Include stdarg.h to make Tru64 happy
Joel Rosdahl [Fri, 26 Feb 2010 21:22:00 +0000 (22:22 +0100)]
Only clean non-dev stuff in Makefile's clean target
Joel Rosdahl [Fri, 26 Feb 2010 21:15:26 +0000 (22:15 +0100)]
Include some more system headers to make Solaris happy
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.
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.
Joel Rosdahl [Thu, 25 Feb 2010 07:19:51 +0000 (08:19 +0100)]
Improve log message
Joel Rosdahl [Wed, 24 Feb 2010 21:17:53 +0000 (22:17 +0100)]
Prefix log messages with PID
Joel Rosdahl [Wed, 24 Feb 2010 19:55:06 +0000 (20:55 +0100)]
Improve log messages
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
Joel Rosdahl [Tue, 23 Feb 2010 21:23:36 +0000 (22:23 +0100)]
Remove test.sh's dependency on Perl
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
Joel Rosdahl [Mon, 22 Feb 2010 22:21:28 +0000 (23:21 +0100)]
Minor man page improvements
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 21:58:41 +0000 (22:58 +0100)]
use size_t when we refer to memory sizes
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)'
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.
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)
Joel Rosdahl [Mon, 22 Feb 2010 21:40:50 +0000 (22:40 +0100)]
Merge CCACHE_HASH_COMPILER/CCACHE_NOHASH_SIZE_MTIME into CCACHE_COMPILERCHECK
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.
Joel Rosdahl [Mon, 22 Feb 2010 20:27:31 +0000 (21:27 +0100)]
Add missing newlines to cc_logs
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 19:02:20 +0000 (20:02 +0100)]
INSTALL: the from repository instructions ends abruptly. Finish it properly
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 18:58:05 +0000 (19:58 +0100)]
INSTALL: add perl (for the testsuite)
Kovarththanan Rajaratnam [Mon, 22 Feb 2010 18:56:36 +0000 (19:56 +0100)]
INSTALL: add autoconf
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
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