]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
7 years agoPrepare for v3.3.6 3.3-maint v3.3.6
Joel Rosdahl [Sun, 28 Jan 2018 15:22:29 +0000 (16:22 +0100)] 
Prepare for v3.3.6

7 years agoUpdate NEWS
Joel Rosdahl [Sun, 28 Jan 2018 15:08:31 +0000 (16:08 +0100)] 
Update NEWS

7 years agotest: Verify that UNCACHED_ERR_FD works
Joel Rosdahl [Sun, 28 Jan 2018 15:06:36 +0000 (16:06 +0100)] 
test: Verify that UNCACHED_ERR_FD works

7 years agoOnly write hash debug output if there is any data
Joel Rosdahl [Sun, 28 Jan 2018 15:05:07 +0000 (16:05 +0100)] 
Only write hash debug output if there is any data

7 years agoFix broken UNCACHED_ERR_FD
Luboš Luňák [Fri, 26 Jan 2018 07:47:30 +0000 (08:47 +0100)] 
Fix broken UNCACHED_ERR_FD

It shouldn't be closed on exec since that's exactly the point, to leak
it to whatever ccache calls.

7 years agodoc: Improve instructions on how to compile in different directories
Joel Rosdahl [Sun, 21 Jan 2018 08:13:45 +0000 (09:13 +0100)] 
doc: Improve instructions on how to compile in different directories

7 years agoSplit .incbin directive in ccache source code to enable cache hits
Joel Rosdahl [Sun, 21 Jan 2018 07:54:17 +0000 (08:54 +0100)] 
Split .incbin directive in ccache source code to enable cache hits

7 years agoPrepare for v3.3.5 v3.3.5
Joel Rosdahl [Sat, 13 Jan 2018 18:34:47 +0000 (19:34 +0100)] 
Prepare for v3.3.5

7 years agodoc: Tweak automatic cleanup description
Joel Rosdahl [Sat, 13 Jan 2018 16:43:34 +0000 (17:43 +0100)] 
doc: Tweak automatic cleanup description

7 years agoUpdate NEWS
Joel Rosdahl [Thu, 11 Jan 2018 19:59:57 +0000 (20:59 +0100)] 
Update NEWS

7 years agoDon't skip compiler argument following AFFECTS_CPP without TAKES_ARG
Joel Rosdahl [Thu, 11 Jan 2018 19:51:38 +0000 (20:51 +0100)] 
Don't skip compiler argument following AFFECTS_CPP without TAKES_ARG

Bug found by Mike Gelfand.

Fixes #203.

7 years agoClean up
Joel Rosdahl [Thu, 11 Jan 2018 13:41:51 +0000 (14:41 +0100)] 
Clean up

7 years agoClean up redundant expression
orbitcowboy [Mon, 8 Jan 2018 12:46:40 +0000 (13:46 +0100)] 
Clean up redundant expression

7 years ago-fdebug-prefix-map is supported in clang 3.8 and newer
Tom Hughes [Tue, 12 Dec 2017 16:52:04 +0000 (08:52 -0800)] 
-fdebug-prefix-map is supported in clang 3.8 and newer

It's not documented until newer versions of clang, but support was
added in 3.8: https://reviews.llvm.org/rL250094

7 years agoFix leaked file descriptor
Andreas Huber [Thu, 7 Dec 2017 13:35:43 +0000 (14:35 +0100)] 
Fix leaked file descriptor

7 years agoClang emits warnings for unused linker arguments, respect that!
Edward Z. Yang [Fri, 30 Jun 2017 14:35:29 +0000 (07:35 -0700)] 
Clang emits warnings for unused linker arguments, respect that!

If ccache concludes the invocation with/without linker arguments
is the same as before, then it may show/fail to show a warning
when it should.  I know we're not supposed to rely on the
is clang check, but this solves it in normal cases.

Fixes #189.

Signed-off-by: Edward Z. Yang <ezyang@fb.com>
7 years agodoc: Improve markup
Joel Rosdahl [Thu, 11 Jan 2018 08:01:07 +0000 (09:01 +0100)] 
doc: Improve markup

7 years agoAdd some fallthrough comments to work around GCC compiler warnings
Geert Bosch [Fri, 23 Jun 2017 20:45:33 +0000 (16:45 -0400)] 
Add some fallthrough comments to work around GCC compiler warnings

7 years agoDocument how automatic cleanup works
Joel Rosdahl [Sat, 6 Jan 2018 15:25:34 +0000 (16:25 +0100)] 
Document how automatic cleanup works

7 years agoMake ccache -c/--cleanup not take limit_multiple into account
Joel Rosdahl [Sat, 6 Jan 2018 14:41:13 +0000 (15:41 +0100)] 
Make ccache -c/--cleanup not take limit_multiple into account

Now "ccache -c/--cleanup" will trim the cache to the configured max
limits instead of 80% (limit_multiple) of the max limits. This feels
like a more intuitive behavior, and it also makes it behave like
documented.

7 years agotest: Fix printing of failure reason with glob characters
Joel Rosdahl [Sat, 6 Jan 2018 14:08:29 +0000 (15:08 +0100)] 
test: Fix printing of failure reason with glob characters

7 years agoFix grammar in cleanup_* function names
Joel Rosdahl [Sat, 6 Jan 2018 13:30:50 +0000 (14:30 +0100)] 
Fix grammar in cleanup_* function names

7 years agotest: Unset all CCACHE variables in environment
Joel Rosdahl [Sat, 6 Jan 2018 13:00:54 +0000 (14:00 +0100)] 
test: Unset all CCACHE variables in environment

Gotta catch 'em all.

As suggested by Radu Rendec.

7 years agocleanup: Improve logging
Joel Rosdahl [Thu, 4 Jan 2018 21:55:58 +0000 (22:55 +0100)] 
cleanup: Improve logging

7 years agotest: Check more cases of path normalization
Joel Rosdahl [Thu, 4 Jan 2018 20:09:10 +0000 (21:09 +0100)] 
test: Check more cases of path normalization

7 years agoDon't overwrite cached .d file with a version with absolute paths
Joel Rosdahl [Sat, 30 Dec 2017 19:49:25 +0000 (20:49 +0100)] 
Don't overwrite cached .d file with a version with absolute paths

The .d file has already been put in the cache by to_cache (and
potentially converted to relative paths using
use_relative_paths_in_depfile).

This fixes what seems to be a mistake in 38301c0d.

7 years agotest: Fix verbose printing of test case name with space
Joel Rosdahl [Thu, 28 Dec 2017 18:16:20 +0000 (19:16 +0100)] 
test: Fix verbose printing of test case name with space

8 years agoUpdate NEWS
Joel Rosdahl [Wed, 19 Jul 2017 20:45:25 +0000 (22:45 +0200)] 
Update NEWS

8 years agoDon't use cache when building precompiled header with changed deps
Tor Arne Vestbø [Thu, 15 Jun 2017 12:40:16 +0000 (14:40 +0200)] 
Don't use cache when building precompiled header with changed deps

If one of the included files in a precompiled header is touched,
changing only its mtime, clang will produce a fatal error when the
precompiled header is then used:

    file 'foo.h' has been modified since the precompiled header 'foo.pch' was built

We need to take this into account when producing precompiled headers,
so that we don't pick out stale objects from the cache. This works
fine for direct mode, but in preprocess mode we don't have enough
information to decide if the object is still valid, so we skip the
cache entirely in that mode.

8 years agoAlways use include DEFAULT_SLOPPINESS when overriding CCACHE_SLOPPINESS
Tor Arne Vestbø [Thu, 15 Jun 2017 09:52:34 +0000 (11:52 +0200)] 
Always use include DEFAULT_SLOPPINESS when overriding CCACHE_SLOPPINESS

Otherwise the tests will have problems with backdated files.

8 years agoFix detection of missing argument to -opt/--options-file
Joel Rosdahl [Wed, 21 Jun 2017 20:14:35 +0000 (22:14 +0200)] 
Fix detection of missing argument to -opt/--options-file

Closes #171.

8 years agoUpdate log message and docs when using SLOPPY_FILE_STAT_MATCHES
Tor Arne Vestbø [Thu, 15 Jun 2017 12:50:00 +0000 (14:50 +0200)] 
Update log message and docs when using SLOPPY_FILE_STAT_MATCHES

The size is no longer part of this check.

8 years agoTweak comment
Joel Rosdahl [Thu, 15 Jun 2017 18:24:38 +0000 (20:24 +0200)] 
Tweak comment

8 years agoAdd comment about why SLOPPY_INCLUDE_FILE_[CM]TIME compares using >=t
Tor Arne Vestbø [Thu, 15 Jun 2017 12:49:28 +0000 (14:49 +0200)] 
Add comment about why SLOPPY_INCLUDE_FILE_[CM]TIME compares using >=t

8 years agoUpdate NEWS
Joel Rosdahl [Sat, 25 Mar 2017 20:24:17 +0000 (21:24 +0100)] 
Update NEWS

8 years agoAdd test for directory in ignore_headers_in_manifest
Joel Rosdahl [Sat, 25 Mar 2017 20:23:06 +0000 (21:23 +0100)] 
Add test for directory in ignore_headers_in_manifest

I should have added this test in a61d0f24 – that would have prevented
issue #165.

8 years agoFix DIR_DELIM_CH for win32 and non-win32 platforms, values were mixed up
Oded Shimon [Sun, 19 Mar 2017 08:56:20 +0000 (10:56 +0200)] 
Fix DIR_DELIM_CH for win32 and non-win32 platforms, values were mixed up

8 years agoUpdate NEWS
Joel Rosdahl [Sat, 25 Mar 2017 19:41:05 +0000 (20:41 +0100)] 
Update NEWS

8 years agoTweak source code format
Joel Rosdahl [Sat, 25 Mar 2017 19:39:48 +0000 (20:39 +0100)] 
Tweak source code format

8 years agoSupport using multiple -fdebug-prefix-map
Anders F Björklund [Fri, 17 Mar 2017 19:21:09 +0000 (20:21 +0100)] 
Support using multiple -fdebug-prefix-map

Previously only the last one was actually being applied to the hash.
Note that the compiler will actually only *use* one of all the paths.

Closes #163.

8 years agoFixed the check for empty object file vs diagnostics
Alexey Tourbin [Sat, 18 Feb 2017 13:29:53 +0000 (16:29 +0300)] 
Fixed the check for empty object file vs diagnostics

The test for diagnostic file currently interferes with the check for
empty object file.  Since the check for diagnostic file is much more
similar to the check for dependency file, I put it there.

8 years agoRemoved time_of_compilation check wrt SLOPPY_FILE_STAT_MATCHES
Alexey Tourbin [Wed, 15 Feb 2017 00:25:49 +0000 (03:25 +0300)] 
Removed time_of_compilation check wrt SLOPPY_FILE_STAT_MATCHES

The whole code seems to be a thinko.  For a hit, neither ctime
nor mtime should be greater than or equal to time_of_compilation.
The code only seems to work because time_of_compilation is 0
at this stage (i.e. has not been initialized).

While at it, I also introduce an optimization: when sizes do
not match, it's a good chance to bail out early; there is no
point in further hashing the file.

8 years agoRevert "Better parsing of g* Options, and only use last argument"
Joel Rosdahl [Sat, 25 Mar 2017 15:59:22 +0000 (16:59 +0100)] 
Revert "Better parsing of g* Options, and only use last argument"

This reverts commit 21e2652c62762e5c9a017ea1523f6cfb3f1bcf7d.

The feature introduced in #92 changes the order of debug options,
leading to bugs like #149. It would be possible to add more logic to
handle special cases like -gsplit-dwarf, but for now I'll just back out
the patch and keep ccache ignorant about debug options.

Fixes #149

8 years agoTest that the order of debug options is kept
Joel Rosdahl [Sat, 25 Mar 2017 15:34:58 +0000 (16:34 +0100)] 
Test that the order of debug options is kept

8 years agoPrepare for v3.3.4 v3.3.4
Joel Rosdahl [Fri, 17 Feb 2017 21:22:39 +0000 (22:22 +0100)] 
Prepare for v3.3.4

8 years agoUpdate NEWS
Joel Rosdahl [Fri, 17 Feb 2017 21:16:08 +0000 (22:16 +0100)] 
Update NEWS

8 years agoRun test for undefined behaviour with Travis
Anders Björklund [Sun, 13 Nov 2016 15:53:31 +0000 (16:53 +0100)] 
Run test for undefined behaviour with Travis

8 years agoUndefined: avoid shift warning in manifest
Anders Björklund [Sun, 13 Nov 2016 15:52:55 +0000 (16:52 +0100)] 
Undefined: avoid shift warning in manifest

manifest.c:264:46: runtime error: left shift of 72057594037927935 by 8 places cannot be represented in type 'long int'

8 years agoUndefined: avoid shift warning in murmurhash
Anders Björklund [Sun, 13 Nov 2016 15:51:46 +0000 (16:51 +0100)] 
Undefined: avoid shift warning in murmurhash

murmurhashneutral2.c:18:16: runtime error: left shift of 169 by 24 places cannot be represented in type 'int'

8 years agoUndefined: avoid null warning in tmp_unlink
Anders Björklund [Sun, 13 Nov 2016 15:50:50 +0000 (16:50 +0100)] 
Undefined: avoid null warning in tmp_unlink

util.c:1468:6: runtime error: null pointer passed as argument 1, which is declared to never be null

8 years agoInclude feature_macros earlier in configure.ac
Joel Rosdahl [Sun, 12 Feb 2017 13:43:41 +0000 (14:43 +0100)] 
Include feature_macros earlier in configure.ac

As suggested by Anders Björklund in issue #148.

Potentially fixes build problem with Oracle Studio 12.

8 years agoDocument the different cache statistics counters
Joel Rosdahl [Thu, 9 Feb 2017 21:33:36 +0000 (22:33 +0100)] 
Document the different cache statistics counters

Closes #142.

8 years agoUse correct statistics counter for -optf/--options-file failure
Joel Rosdahl [Thu, 9 Feb 2017 21:21:18 +0000 (22:21 +0100)] 
Use correct statistics counter for -optf/--options-file failure

8 years agoUpdate NEWS
Joel Rosdahl [Wed, 8 Feb 2017 20:09:14 +0000 (21:09 +0100)] 
Update NEWS

8 years agoInclude names of include files in the hash again
Joel Rosdahl [Sun, 5 Feb 2017 20:51:28 +0000 (21:51 +0100)] 
Include names of include files in the hash again

This is essentially a revert of 5908e656 and 9cffdc65 (a partial fix of
the problem). The idea of pull request #88 ("preprocessor mode: enable
using identical header in different paths") did not work out well in
practice since it broke handling of dependency files. See the new "-MMD
for different ..." test cases which fail without the revert.

Fixes #134. Reverts #88.

8 years agoFix AsciiDoc syntax in manual
Joel Rosdahl [Mon, 31 Oct 2016 21:59:52 +0000 (22:59 +0100)] 
Fix AsciiDoc syntax in manual

8 years agoTweak manual line width
Joel Rosdahl [Sun, 30 Oct 2016 21:41:44 +0000 (22:41 +0100)] 
Tweak manual line width

8 years agoMANUAL.txt: fix some AsciiDoc style
Philippe Proulx [Sun, 30 Oct 2016 06:28:32 +0000 (02:28 -0400)] 
MANUAL.txt: fix some AsciiDoc style

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
8 years agoPrepare for v3.3.3 v3.3.3
Joel Rosdahl [Wed, 26 Oct 2016 21:31:08 +0000 (23:31 +0200)] 
Prepare for v3.3.3

8 years agoBail out on usage of .incbin` assembler directives
Joel Rosdahl [Wed, 26 Oct 2016 21:25:05 +0000 (23:25 +0200)] 
Bail out on usage of .incbin` assembler directives

Fixes #136.

8 years agoRename STATS_UNSUPPORTED to STATS_UNSUPPORTED_OPTION
Joel Rosdahl [Wed, 26 Oct 2016 21:04:51 +0000 (23:04 +0200)] 
Rename STATS_UNSUPPORTED to STATS_UNSUPPORTED_OPTION

8 years agoCompute width of stats messages instead of hardcoding
Joel Rosdahl [Wed, 26 Oct 2016 20:58:51 +0000 (22:58 +0200)] 
Compute width of stats messages instead of hardcoding

8 years agoReformat stats_info array
Joel Rosdahl [Wed, 26 Oct 2016 20:55:35 +0000 (22:55 +0200)] 
Reformat stats_info array

8 years agoImprove regression test for -Wp, with multiple arguments
Joel Rosdahl [Wed, 28 Sep 2016 20:49:16 +0000 (22:49 +0200)] 
Improve regression test for -Wp, with multiple arguments

8 years agoCorrect NEWS.txt syntax v3.3.2
Joel Rosdahl [Wed, 28 Sep 2016 20:44:20 +0000 (22:44 +0200)] 
Correct NEWS.txt syntax

8 years agoPrepare for v3.3.2
Joel Rosdahl [Wed, 28 Sep 2016 20:30:18 +0000 (22:30 +0200)] 
Prepare for v3.3.2

8 years agoMerge branch '3.2-maint' into 3.3-maint
Joel Rosdahl [Wed, 28 Sep 2016 20:28:16 +0000 (22:28 +0200)] 
Merge branch '3.2-maint' into 3.3-maint

* 3.2-maint:
  Prepare for v3.2.9
  Disable direct mode for "-Wp," with multiple preprocessor options

8 years agoPrepare for v3.2.9 3.2-maint v3.2.9
Joel Rosdahl [Wed, 28 Sep 2016 20:19:23 +0000 (22:19 +0200)] 
Prepare for v3.2.9

8 years agoDisable direct mode for "-Wp," with multiple preprocessor options
Joel Rosdahl [Wed, 28 Sep 2016 20:17:16 +0000 (22:17 +0200)] 
Disable direct mode for "-Wp," with multiple preprocessor options

This fixes a regression in ccache 3.2.8/3.3.1 (commit 026ba6b9): ccache
could get confused when using the compiler option -Wp, to pass multiple
options to the preprocessor, resulting in missing dependency files from
direct mode cache hits.

Closes #133.

8 years agoHash source path when generating dependencies to avoid false positive
Joel Rosdahl [Tue, 27 Sep 2016 21:20:36 +0000 (23:20 +0200)] 
Hash source path when generating dependencies to avoid false positive

5908e656ef2a6493b42159acff4b1f490016d055 introduced a regression: If a
source file is compiled in directory A and an identical source file in
directory B results in a preprocessed hit, then the dependency file from
the first compilation will be overwritten by the second compilation.
Since the source path is part of the dependency file, an incorrect
dependency file will be retrieved from the cache when recompiling the
source in directory A.

The solution is to include the source path part in the object hash if a
dependency file is being generated.

Fixes #134.

8 years agotest: Handle CC="gcc -std=gnu99" gracefully
Joel Rosdahl [Sun, 25 Sep 2016 09:37:41 +0000 (11:37 +0200)] 
test: Handle CC="gcc -std=gnu99" gracefully

Based on a suggestion by Eric Bavier.

8 years agoPrepare for v3.3.1 v3.3.1
Joel Rosdahl [Wed, 7 Sep 2016 19:20:00 +0000 (21:20 +0200)] 
Prepare for v3.3.1

8 years agoClean up
Joel Rosdahl [Wed, 7 Sep 2016 19:13:16 +0000 (21:13 +0200)] 
Clean up

8 years agoAdd -arch options to hash
Ivan Vaigult [Thu, 1 Sep 2016 01:27:27 +0000 (01:27 +0000)] 
Add -arch options to hash

Update tests.

Fixes #127 "ccache no longer supports building of single -archs".

8 years agoMerge branch '3.2-maint' into 3.3-maint
Joel Rosdahl [Wed, 7 Sep 2016 19:09:45 +0000 (21:09 +0200)] 
Merge branch '3.2-maint' into 3.3-maint

* 3.2-maint:
  Prepare for v3.2.8
  Only pass -Wp,-MT and similar to the preprocessor

8 years agoPrepare for v3.2.8 v3.2.8
Joel Rosdahl [Wed, 7 Sep 2016 18:52:15 +0000 (20:52 +0200)] 
Prepare for v3.2.8

8 years agoOnly pass -Wp,-MT and similar to the preprocessor
Joel Rosdahl [Wed, 7 Sep 2016 18:46:18 +0000 (20:46 +0200)] 
Only pass -Wp,-MT and similar to the preprocessor

This fixes an issue when compiler option -Wp,-MT,path is used instead of
-MT path (and similar for -MF, -MP and -MQ) and run_second_cpp
(CCACHE_CPP2) is enabled.

Fixes #129.

8 years agoPrepare for v3.3 v3.3
Joel Rosdahl [Sat, 27 Aug 2016 14:57:02 +0000 (16:57 +0200)] 
Prepare for v3.3

8 years agoTweak NEWS
Joel Rosdahl [Sat, 27 Aug 2016 14:50:32 +0000 (16:50 +0200)] 
Tweak NEWS

8 years agoImprove grammar
Joel Rosdahl [Sat, 27 Aug 2016 14:50:26 +0000 (16:50 +0200)] 
Improve grammar

8 years agoFix typo in installation instructions
Joel Rosdahl [Sat, 27 Aug 2016 14:31:22 +0000 (16:31 +0200)] 
Fix typo in installation instructions

8 years agoSplit installation instructions into from-repo and from-archive cases
Joel Rosdahl [Sat, 27 Aug 2016 07:55:53 +0000 (09:55 +0200)] 
Split installation instructions into from-repo and from-archive cases

See discussion in #125.

8 years agoImprove comments about lock breaking
Joel Rosdahl [Wed, 24 Aug 2016 17:56:28 +0000 (19:56 +0200)] 
Improve comments about lock breaking

8 years agoUpdate NEWS
Joel Rosdahl [Sun, 21 Aug 2016 20:27:51 +0000 (22:27 +0200)] 
Update NEWS

8 years agoIncluding trailing quote and cpp flags in the hash
Anders Björklund [Thu, 21 Jul 2016 12:08:54 +0000 (14:08 +0200)] 
Including trailing quote and cpp flags in the hash

When looking for which headers are system headers ("3")
in the commit 219783844c63d37c26f771c1471f3fe2943f9a88,
we skipped hashing the quote and flags... Restore that.
Shouldn't make any major difference, but changes the hash.

Closes #120.

9 years agoBreak long line
Joel Rosdahl [Sat, 30 Jul 2016 20:18:58 +0000 (22:18 +0200)] 
Break long line

9 years agoDecrease read buffer size to 64 KiB
Joel Rosdahl [Sat, 30 Jul 2016 13:27:27 +0000 (15:27 +0200)] 
Decrease read buffer size to 64 KiB

9 years agoClean up after f731bd4a
Joel Rosdahl [Sat, 30 Jul 2016 13:26:59 +0000 (15:26 +0200)] 
Clean up after f731bd4a

9 years agoIncrease buffer size for IO operations.
Mikhail Kolomeytsev [Sat, 2 Apr 2016 19:54:01 +0000 (01:54 +0600)] 
Increase buffer size for IO operations.

https://lists.samba.org/archive/ccache/2016q2/001429.html

9 years agoUpdate NEWS
Joel Rosdahl [Fri, 29 Jul 2016 16:31:17 +0000 (18:31 +0200)] 
Update NEWS

9 years agoFix regression in b81df8bf of "cache hit rate" statistics output
Joel Rosdahl [Fri, 29 Jul 2016 16:24:28 +0000 (18:24 +0200)] 
Fix regression in b81df8bf of "cache hit rate" statistics output

9 years agoClean up after a8ca6ad3
Joel Rosdahl [Fri, 29 Jul 2016 15:51:44 +0000 (17:51 +0200)] 
Clean up after a8ca6ad3

9 years agoMake the cleanup limit into a configurable variable
Anders Björklund [Mon, 30 Jun 2014 17:50:49 +0000 (19:50 +0200)] 
Make the cleanup limit into a configurable variable

When doing manual cleanups, it is useful to be able to set the
cleanup limit multiple rather than hardcoding it as 80% always.

9 years agotest: Remove left-over cleanup code
Joel Rosdahl [Thu, 28 Jul 2016 20:43:56 +0000 (22:43 +0200)] 
test: Remove left-over cleanup code

9 years agoMerge branch '3.2-maint'
Joel Rosdahl [Thu, 28 Jul 2016 13:38:28 +0000 (15:38 +0200)] 
Merge branch '3.2-maint'

* 3.2-maint:
  Detect undocumented -coverage (only one dash) GCC option

9 years agoDetect undocumented -coverage (only one dash) GCC option
Joel Rosdahl [Thu, 28 Jul 2016 13:36:35 +0000 (15:36 +0200)] 
Detect undocumented -coverage (only one dash) GCC option

9 years agotest: Fix typo
Joel Rosdahl [Thu, 28 Jul 2016 09:39:39 +0000 (11:39 +0200)] 
test: Fix typo

9 years agoLet hash_dir default to true
Joel Rosdahl [Wed, 27 Jul 2016 20:09:14 +0000 (22:09 +0200)] 
Let hash_dir default to true

This results in a better out-of-the-box experience.

Closes #117.

9 years agoLet run_second_cpp default to true
Joel Rosdahl [Wed, 27 Jul 2016 18:49:00 +0000 (20:49 +0200)] 
Let run_second_cpp default to true

ccache has since day 1 (OK, actually day 13: 5f6f5010) relied on the
fact that GCC and similar enough compilers are able to compile their own
preprocessed output with the same outcome as if they compiled the real
source code directly.

However, newer versions of GCC no longer quite work this way since they
perform an increasing amount of diagnostics analysis only if the source
code is compiled directly. The same goes for Clang. It's impossible for
ccache to work around this changed behavior in a good way.

Closes #116.

9 years agotest: Use same colors and wording for quicktest and test.sh status
Joel Rosdahl [Wed, 27 Jul 2016 18:31:56 +0000 (20:31 +0200)] 
test: Use same colors and wording for quicktest and test.sh status