Commit Graph

375 Commits

Author SHA1 Message Date
Joel Rosdahl
56ef07fdd6 Improve upgrading notes in NEWS 2010-02-21 21:12:55 +01:00
Joel Rosdahl
598bf7677b Correctly lock stats file for reading 2010-02-21 21:01:02 +01:00
Joel Rosdahl
741bb5587f Add comments about the stats files 2010-02-21 20:58:58 +01:00
Joel Rosdahl
db73c8536c Correctly declare nullary functions 2010-02-21 20:57:57 +01:00
Joel Rosdahl
cbe36a2bf0 Clean up some constants 2010-02-21 19:42:39 +01:00
Joel Rosdahl
e8cd56fdeb Remove obsolete STATS_VERSION 2010-02-21 19:30:05 +01:00
Joel Rosdahl
7ecd43080c 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.
2010-02-21 18:20:53 +01:00
Joel Rosdahl
e641e1e280 Clarify hash_result() semantics 2010-02-21 18:20:53 +01:00
Joel Rosdahl
309e423f99 Don't remove the test directory upon test failure to ease troubleshooting 2010-02-21 18:20:53 +01:00
Joel Rosdahl
5ea294ef76 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.
2010-02-21 18:18:03 +01:00
Joel Rosdahl
ce92d74175 Sort environment variables in the man page 2010-02-21 00:22:30 +01:00
Joel Rosdahl
7f34148090 Update NEWS with info from the bug tracker 2010-02-20 16:04:07 +01:00
Clemens Rabe
3eaee4c2a7 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.
2010-02-20 10:19:33 +01:00
Owen Mann
a04bed3aeb Clear out env so "make test" always works
Fix for bug #7161.
2010-02-20 09:55:32 +01:00
Joel Rosdahl
4a49cf6661 Expand license notice in the --version text 2010-02-17 22:47:50 +01:00
Joel Rosdahl
681036bcd8 Use "perl -pi -e" instead of "sed -i" to increase portability 2010-02-17 21:20:06 +01:00
Joel Rosdahl
976e256525 Update copyright notices 2010-02-17 21:03:29 +01:00
Joel Rosdahl
ecf85fc492 Remove standard includes from ccache.h 2010-02-17 21:03:27 +01:00
Joel Rosdahl
d93529548a Move utimes/utime into an update_mtime function 2010-02-17 20:10:00 +01:00
Joel Rosdahl
145462baa9 Use our own getopt_long 2010-02-17 20:10:00 +01:00
Joel Rosdahl
4ad5570d23 Make getopt_long prettier and more standalone 2010-02-17 20:09:55 +01:00
Joel Rosdahl
00a9c50bb5 Add getopt_long implementation borrowed from PostgreSQL 2010-02-17 19:13:27 +01:00
Joel Rosdahl
1f5b0aa358 Extracted common dist archive build commands into a variable 2010-02-15 22:59:05 +01:00
Joel Rosdahl
77b950db48 Support systems without strndup 2010-02-15 21:54:16 +01:00
Joel Rosdahl
89c1146bb8 Make configure hint about which make to run 2010-02-15 21:34:45 +01:00
Joel Rosdahl
2ef46395cd Don't treat missing ccache.1 as an error when installing 2010-02-15 08:42:28 +01:00
Joel Rosdahl
1e6a72350a Sorted header and funcs lists in configure.ac 2010-02-14 10:32:03 +01:00
Joel Rosdahl
6cda0cce3c Require GNU make for now 2010-02-14 10:25:49 +01:00
Joel Rosdahl
50089dd543 Remove references to the web directory 2010-02-14 10:20:59 +01:00
Joel Rosdahl
6982e2e7cd Use $(MAKE) to invoke submakes 2010-02-14 10:19:00 +01:00
Joel Rosdahl
aad0e2a75e Clean up configure.ac 2010-02-14 09:53:59 +01:00
Joel Rosdahl
50178c1de9 Remove obsolete web directory 2010-02-12 22:04:43 +01:00
Joel Rosdahl
71ab57ed97 Merge remote branch 'origin/master'
* origin/master:
  announce new maintainer and add git instructions
2010-02-12 22:04:18 +01:00
Joel Rosdahl
fd0cd87c6b Remove stderr file from the preprocessor when we get a preprocessed cache hit 2010-02-12 21:52:28 +01:00
Joel Rosdahl
66d7623382 Add some simple README and INSTALL files 2010-02-12 21:52:28 +01:00
Joel Rosdahl
89433889e5 Bump version to 3.0pre0 2010-02-12 21:52:28 +01:00
Joel Rosdahl
f1cf9871fa Made it possible to set MYNAME when compiling 2010-02-12 21:52:23 +01:00
Andrew Tridgell
5682b0cb17 announce new maintainer and add git instructions
Joel Rosdahl is now the maintainer of ccache. Best wishes Joel!
2010-01-27 17:58:16 +11:00
Joel Rosdahl
b554a73e69 Handle empty arguments correctly 2010-01-25 21:33:09 +01:00
Joel Rosdahl
df7d2dd5fa Fix typo 2010-01-25 21:33:08 +01:00
Joel Rosdahl
84a63bc1e8 Improve NEWS 2010-01-25 21:33:08 +01:00
Joel Rosdahl
0386c0c151 Include NEWS in the dist archive 2010-01-06 22:23:11 +01:00
Joel Rosdahl
4ea8fbe7d6 Consistently refer to options, not flags 2010-01-06 22:23:11 +01:00
Joel Rosdahl
e7544f9b76 Document CCACHE_BASEDIR 2010-01-06 22:23:10 +01:00
Joel Rosdahl
d44f0b0592 Sort environment variable documentation entries 2010-01-06 22:23:10 +01:00
Joel Rosdahl
47a89259f2 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.
2010-01-06 22:23:10 +01:00
Joel Rosdahl
95807ca773 Use uint32_t magic/version constants 2010-01-06 22:23:10 +01:00
Joel Rosdahl
d1f553ce98 Create temporary manifest files in the directory they will end up in
See also commit 106566bb63.
2010-01-06 22:23:10 +01:00
Joel Rosdahl
ce0dece114 Clarify cache size limit options' semantics 2010-01-06 22:23:10 +01:00
Joel Rosdahl
6721406549 Bail out on @file_with_options argument 2010-01-06 22:23:10 +01:00