- added CCACHE_RECACHE option (suggestion from Ismael Orenstein <ismore@ieg.com.br>)
update of the modification time on object files that are the result of
the same compilation in a different directory\&.
.IP
+.IP "\fBCCACHE_RECACHE\fP"
+This forces ccache to not use any cached
+results, even if it finds them\&. New results are still cached, but
+existing cache entries are ignored\&.
+.IP
.IP "\fBCCACHE_UNIFY\fP"
If you set the environment variable CCACHE_UNIFY
then ccache will use the C/C++ unifier when hashing the pre-processor
return;
}
+ /* the user might be disabling cache hits */
+ if (first && getenv("CCACHE_RECACHE")) {
+ close(fd_stderr);
+ unlink(stderr_file);
+ free(stderr_file);
+ return;
+ }
+
utime(stderr_file, NULL);
if (strcmp(output_file, "/dev/null") == 0) {
{
const char *opts[] = {"-I", "-Iinclude", "-imacros", "-iprefix",
"-iwithprefix", "-iwithprefixbefore",
- "-L", "-D", "-U", "-x", "-MF", "-MT",
+ "-L", "-D", "-U", "-x", "-MF",
"-MT", "-MQ", "-isystem", "-aux-info",
"--param", "-A", "-Xlinker", "-u",
NULL};
-#define CCACHE_VERSION "1.9"
+#define CCACHE_VERSION "2.0"
#include "config.h"
update of the modification time on object files that are the result of
the same compilation in a different directory.
+dit(bf(CCACHE_RECACHE)) This forces ccache to not use any cached
+results, even if it finds them. New results are still cached, but
+existing cache entries are ignored.
+
dit(bf(CCACHE_UNIFY)) If you set the environment variable CCACHE_UNIFY
then ccache will use the C/C++ unifier when hashing the pre-processor
output if -g is not used in the compile. The unifier is slower than a
instead. The main reason for setting this option is to avoid the
update of the modification time on object files that are the result of
the same compilation in a different directory.
+<p><p></p><dt><strong><strong>CCACHE_RECACHE</strong></strong><dd> This forces ccache to not use any cached
+results, even if it finds them. New results are still cached, but
+existing cache entries are ignored.
<p><p></p><dt><strong><strong>CCACHE_UNIFY</strong></strong><dd> If you set the environment variable CCACHE_UNIFY
then ccache will use the C/C++ unifier when hashing the pre-processor
output if -g is not used in the compile. The unifier is slower than a