Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prepare for v3.3.6v3.3.63.3-maint | Joel Rosdahl | 2018-01-28 | 2 | -2/+2 |
| | |||||
* | Update NEWS | Joel Rosdahl | 2018-01-28 | 1 | -0/+17 |
| | |||||
* | test: Verify that UNCACHED_ERR_FD works | Joel Rosdahl | 2018-01-28 | 1 | -0/+32 |
| | |||||
* | Only write hash debug output if there is any data | Joel Rosdahl | 2018-01-28 | 1 | -2/+2 |
| | |||||
* | Fix broken UNCACHED_ERR_FD | Luboš Luňák | 2018-01-28 | 1 | -1/+1 |
| | | | | | It shouldn't be closed on exec since that's exactly the point, to leak it to whatever ccache calls. | ||||
* | doc: Improve instructions on how to compile in different directories | Joel Rosdahl | 2018-01-21 | 1 | -26/+30 |
| | |||||
* | Split .incbin directive in ccache source code to enable cache hits | Joel Rosdahl | 2018-01-21 | 1 | -5/+5 |
| | |||||
* | Prepare for v3.3.5v3.3.5 | Joel Rosdahl | 2018-01-13 | 4 | -8/+15 |
| | |||||
* | doc: Tweak automatic cleanup description | Joel Rosdahl | 2018-01-13 | 1 | -3/+3 |
| | |||||
* | Update NEWS | Joel Rosdahl | 2018-01-11 | 1 | -0/+9 |
| | |||||
* | Don't skip compiler argument following AFFECTS_CPP without TAKES_ARG | Joel Rosdahl | 2018-01-11 | 1 | -1/+3 |
| | | | | | | Bug found by Mike Gelfand. Fixes #203. | ||||
* | Clean up | Joel Rosdahl | 2018-01-11 | 3 | -11/+8 |
| | |||||
* | Clean up redundant expression | orbitcowboy | 2018-01-11 | 1 | -2/+2 |
| | |||||
* | -fdebug-prefix-map is supported in clang 3.8 and newer | Tom Hughes | 2018-01-11 | 1 | -1/+1 |
| | | | | | It's not documented until newer versions of clang, but support was added in 3.8: https://reviews.llvm.org/rL250094 | ||||
* | Fix leaked file descriptor | Andreas Huber | 2018-01-11 | 3 | -4/+16 |
| | |||||
* | Clang emits warnings for unused linker arguments, respect that! | Edward Z. Yang | 2018-01-11 | 1 | -3/+8 |
| | | | | | | | | | | | 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> | ||||
* | doc: Improve markup | Joel Rosdahl | 2018-01-11 | 1 | -2/+2 |
| | |||||
* | Add some fallthrough comments to work around GCC compiler warnings | Geert Bosch | 2018-01-11 | 2 | -2/+5 |
| | |||||
* | Document how automatic cleanup works | Joel Rosdahl | 2018-01-10 | 2 | -5/+55 |
| | |||||
* | Make ccache -c/--cleanup not take limit_multiple into account | Joel Rosdahl | 2018-01-10 | 5 | -35/+66 |
| | | | | | | | 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. | ||||
* | test: Fix printing of failure reason with glob characters | Joel Rosdahl | 2018-01-10 | 1 | -1/+1 |
| | |||||
* | Fix grammar in cleanup_* function names | Joel Rosdahl | 2018-01-10 | 4 | -9/+9 |
| | |||||
* | test: Unset all CCACHE variables in environment | Joel Rosdahl | 2018-01-10 | 1 | -41/+18 |
| | | | | | | Gotta catch 'em all. As suggested by Radu Rendec. | ||||
* | cleanup: Improve logging | Joel Rosdahl | 2018-01-10 | 2 | -5/+17 |
| | |||||
* | test: Check more cases of path normalization | Joel Rosdahl | 2018-01-10 | 1 | -3/+7 |
| | |||||
* | Don't overwrite cached .d file with a version with absolute paths | Joel Rosdahl | 2018-01-10 | 2 | -5/+3 |
| | | | | | | | | 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. | ||||
* | test: Fix verbose printing of test case name with space | Joel Rosdahl | 2017-12-28 | 1 | -1/+1 |
| | |||||
* | Update NEWS | Joel Rosdahl | 2017-07-19 | 1 | -0/+4 |
| | |||||
* | Don't use cache when building precompiled header with changed deps | Tor Arne Vestbø | 2017-07-19 | 4 | -1/+55 |
| | | | | | | | | | | | | | | 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. | ||||
* | Always use include DEFAULT_SLOPPINESS when overriding CCACHE_SLOPPINESS | Tor Arne Vestbø | 2017-07-19 | 1 | -10/+10 |
| | | | | Otherwise the tests will have problems with backdated files. | ||||
* | Fix detection of missing argument to -opt/--options-file | Joel Rosdahl | 2017-06-21 | 2 | -9/+11 |
| | | | | Closes #171. | ||||
* | Update log message and docs when using SLOPPY_FILE_STAT_MATCHES | Tor Arne Vestbø | 2017-06-15 | 2 | -3/+3 |
| | | | | The size is no longer part of this check. | ||||
* | Tweak comment | Joel Rosdahl | 2017-06-15 | 1 | -3/+3 |
| | |||||
* | Add comment about why SLOPPY_INCLUDE_FILE_[CM]TIME compares using >=t | Tor Arne Vestbø | 2017-06-15 | 1 | -0/+4 |
| | |||||
* | Update NEWS | Joel Rosdahl | 2017-03-25 | 1 | -0/+3 |
| | |||||
* | Add test for directory in ignore_headers_in_manifest | Joel Rosdahl | 2017-03-25 | 1 | -6/+27 |
| | | | | | I should have added this test in a61d0f24 – that would have prevented issue #165. | ||||
* | Fix DIR_DELIM_CH for win32 and non-win32 platforms, values were mixed up | Oded Shimon | 2017-03-25 | 1 | -2/+2 |
| | |||||
* | Update NEWS | Joel Rosdahl | 2017-03-25 | 1 | -0/+2 |
| | |||||
* | Tweak source code format | Joel Rosdahl | 2017-03-25 | 1 | -1/+2 |
| | |||||
* | Support using multiple -fdebug-prefix-map | Anders F Björklund | 2017-03-25 | 2 | -5/+41 |
| | | | | | | | 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. | ||||
* | Fixed the check for empty object file vs diagnostics | Alexey Tourbin | 2017-03-25 | 1 | -6/+6 |
| | | | | | | 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. | ||||
* | Removed time_of_compilation check wrt SLOPPY_FILE_STAT_MATCHES | Alexey Tourbin | 2017-03-25 | 1 | -7/+5 |
| | | | | | | | | | | | 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. | ||||
* | Revert "Better parsing of g* Options, and only use last argument" | Joel Rosdahl | 2017-03-25 | 2 | -40/+21 |
| | | | | | | | | | | | 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 | ||||
* | Test that the order of debug options is kept | Joel Rosdahl | 2017-03-25 | 1 | -1/+33 |
| | |||||
* | Prepare for v3.3.4v3.3.4 | Joel Rosdahl | 2017-02-17 | 4 | -4/+5 |
| | |||||
* | Update NEWS | Joel Rosdahl | 2017-02-17 | 1 | -2/+5 |
| | |||||
* | Run test for undefined behaviour with Travis | Anders Björklund | 2017-02-12 | 1 | -0/+3 |
| | |||||
* | Undefined: avoid shift warning in manifest | Anders Björklund | 2017-02-12 | 1 | -4/+6 |
| | | | | manifest.c:264:46: runtime error: left shift of 72057594037927935 by 8 places cannot be represented in type 'long int' | ||||
* | Undefined: avoid shift warning in murmurhash | Anders Björklund | 2017-02-12 | 1 | -6/+6 |
| | | | | murmurhashneutral2.c:18:16: runtime error: left shift of 169 by 24 places cannot be represented in type 'int' | ||||
* | Undefined: avoid null warning in tmp_unlink | Anders Björklund | 2017-02-12 | 1 | -3/+9 |
| | | | | util.c:1468:6: runtime error: null pointer passed as argument 1, which is declared to never be null |