206 Commits

Author SHA1 Message Date
Andrew Tridgell
ce3a6b06f4 better -M tests 2002-04-24 14:07:37 +02:00
Andrew Tridgell
d53d4da65e hash the input name if not using -g 2002-04-23 04:10:22 +02:00
Andrew Tridgell
a9caa1f322 thanks to Andy Chittenden <achittenden@bluearc.com> for pointing out
that -M does in fact work!
2002-04-18 12:26:47 +02:00
Andrew Tridgell
acc32dfe26 better conftest stats test 2002-04-10 10:31:12 +02:00
Andrew Tridgell
6ac6e764fb added a comment 2002-04-10 10:02:34 +02:00
Andrew Tridgell
7d870180a2 a specific autoconf statistic is useful for diagnostics 2002-04-10 09:52:52 +02:00
Andrew Tridgell
6d5190fb72 handle the alternate form of -o without a space after the option 2002-04-10 09:22:59 +02:00
Andrew Tridgell
46b5fac98b slightly nicer stats for STATS_LINK 2002-04-09 14:21:19 +02:00
Andrew Tridgell
b74bf9f12e - updated to v1.7
- added a comment
2002-04-09 05:47:29 +02:00
Andrew Tridgell
7ef3b29b46 explicit handling of the --specs= option 2002-04-09 05:39:20 +02:00
Andrew Tridgell
a4122e5816 cope explicitly with /dev/null 2002-04-08 05:53:14 +02:00
Andrew Tridgell
21d668779e handle end of argument list better in find_hash 2002-04-08 03:32:07 +02:00
Andrew Tridgell
8379491257 added separate stat for multiple source files 2002-04-08 02:43:58 +02:00
Andrew Tridgell
e26c7f6212 don't leave the i_tmpfile lying around 2002-04-07 16:03:15 +02:00
Andrew Tridgell
5f6f50107b avoid a 2nd cpp run by compiling the pre-processed output on a cache
miss

this lowers the overhead in the case of a cache miss to just about
zero!
2002-04-07 15:20:53 +02:00
Andrew Tridgell
cdcb027913 - added CCACHE_NLEVELS variable
- fixed absolute path hanlding when launching ccache as "ccache /usr/blah/gcc"
2002-04-03 16:45:51 +02:00
Andrew Tridgell
976c926aab changed to a 3 level directory hash 2002-04-02 07:04:49 +02:00
Andrew Tridgell
1b2d1e3c57 don't hash the input file name 2002-04-02 06:09:56 +02:00
Andrew Tridgell
23bcd0a719 don't hash the path to the compiler itself 2002-04-02 05:29:05 +02:00
Andrew Tridgell
7b46104d09 added CCACHE_NOLINK option 2002-04-01 08:58:31 +02:00
Andrew Tridgell
65042f0269 fixed a couple of minor memory leaks 2002-04-01 05:58:57 +02:00
Andrew Tridgell
a70e277deb - added CCACHE_NOSTATS env variable
- added some more stats
2002-04-01 04:59:06 +02:00
Andrew Tridgell
4867d787f2 added CCACHE_NOUNIFY option 2002-04-01 02:23:31 +02:00
Andrew Tridgell
83c0593f7f added the C/C++ unifier 2002-03-31 16:26:49 +02:00
Andrew Tridgell
83628668de check filename extensions for C/C++ 2002-03-31 16:15:06 +02:00
Andrew Tridgell
560dbf98bd fixed man install and -V 2002-03-31 11:30:27 +02:00
Andrew Tridgell
4678627189 fixed warnings
optimise by default
2002-03-31 11:11:50 +02:00
Andrew Tridgell
0b82aa4f72 use realpath() to handle multiple levels of symlinks 2002-03-31 07:01:05 +02:00
Andrew Tridgell
2b3560fbea cope with -o /dev/null 2002-03-31 04:57:44 +02:00
Andrew Tridgell
a8197b4d6d fixed a typo 2002-03-30 14:26:42 +01:00
Andrew Tridgell
65f932325b added a version number 2002-03-30 13:35:26 +01:00
Andrew Tridgell
ea710755c4 added built-in stats and cache management 2002-03-30 11:43:26 +01:00
Andrew Tridgell
b06f5fb2c3 we can now be invoked as "ccache gcc ..." or via symlinks 2002-03-30 01:24:23 +01:00
Andrew Tridgell
e27b51a85a fixed a copy_file() race condition 2002-03-28 22:38:41 +01:00
Andrew Tridgell
221cdbefb1 cope better with unusual compiler options 2002-03-28 07:21:20 +01:00
Andrew Tridgell
9dfed6dd02 cope better with missing hash files 2002-03-28 06:48:39 +01:00
Andrew Tridgell
46a88256bc update the time on the stderr as well as the main hash file 2002-03-28 05:22:40 +01:00
Andrew Tridgell
cb9047a5a4 added ccache_clean utility 2002-03-27 10:46:40 +01:00
Andrew Tridgell
db1f80c11f added args_pop() for neater args processing 2002-03-27 09:40:13 +01:00
Andrew Tridgell
2c280499c3 handle -isystem= better 2002-03-27 09:02:24 +01:00
Andrew Tridgell
0ccc61344b bail out if we get -M 2002-03-27 08:31:55 +01:00
Andrew Tridgell
7f1767724f explain the mmap code a little 2002-03-27 08:12:30 +01:00
Andrew Tridgell
75d34ac390 use mmap() to solve the problem of incredibly long pre-processor lines 2002-03-27 08:06:45 +01:00
Andrew Tridgell
4101c3fd39 implemented the identargs idea from compilercache 2002-03-27 07:30:31 +01:00
Andrew Tridgell
10920460b5 added CCACHE_DISABLE setting 2002-03-27 07:15:32 +01:00
Andrew Tridgell
57088bae34 use a file copy rather than a symlink if a hard link fails 2002-03-27 06:40:28 +01:00
Andrew Tridgell
b93b8ff936 handle -S with -c (it changes the default extension) 2002-03-27 05:53:05 +01:00
Andrew Tridgell
971801d9b3 made default CCACHE_DIR $HOME/.ccache to avoid some potential /tmp races 2002-03-27 04:53:22 +01:00
Andrew Tridgell
49018976e9 solaris insists that object files end in .o 2002-03-27 02:57:45 +01:00
Andrew Tridgell
3b4bf19848 - don't need CCACHE_PATH on non-linux now
- faster handling of error case
2002-03-27 02:29:53 +01:00