]>
git.ipfire.org Git - thirdparty/ccache.git/log
David Givone [Mon, 10 Sep 2012 00:28:37 +0000 (17:28 -0700)]
Only clean dist generate targets when using distclean
Some file are only generated when making a distribute, such as docs, and should
only be cleaned when using the distclean target. If we clean the docs with the
normal clean target then when using the Makefile with the distributed source
code will lead to an error if you configure, make, make clean, and then make
again.
David Givone [Mon, 3 Sep 2012 22:09:52 +0000 (15:09 -0700)]
Improve dev.mk to be more platform independent
The dev.mk was improved to allow for the make dist to work on mac os x:
1) asciidoc may not always be install to /etc, so also check /usr/local/etc
2) --parents parameter for cp does not work on mac so use rsync --relative
3) replaced -a tar flag with somesomething that should work across
platforms
David Givone [Sun, 2 Sep 2012 22:49:12 +0000 (15:49 -0700)]
Fix issue to handle the -arch compiler option with arg
ccache was logging a warning on Mac since the -arch option always has a
argument.
Joel Rosdahl [Thu, 13 Sep 2012 18:40:18 +0000 (20:40 +0200)]
Don't make -lz an explicit dependency if there is a system zlib
David Givone [Tue, 4 Sep 2012 03:57:00 +0000 (20:57 -0700)]
Make test suite work with clang and gcc-llvm on Mac OS X
Numerous fixes so that clang and gcc-llvm from Xcode 4 can successfully
complete
Various variables were also added to simplify conditional statements.
David Givone [Sun, 2 Sep 2012 22:39:30 +0000 (15:39 -0700)]
Add the primary and secondary conf file path when printing stats
Joel Rosdahl [Fri, 7 Sep 2012 18:30:02 +0000 (20:30 +0200)]
Update manual on why the direct mode is off by default
Joel Rosdahl [Sat, 11 Aug 2012 09:09:41 +0000 (11:09 +0200)]
Merge branch 'maint'
* maint:
Prepare for v3.1.8
Use C89-style comments
Add quicktest Makefile target
Conflicts:
AUTHORS.txt
Makefile.in
test/test_hashutil.c
Joel Rosdahl [Sat, 11 Aug 2012 09:02:05 +0000 (11:02 +0200)]
Prepare for v3.1.8
Joel Rosdahl [Sat, 11 Aug 2012 09:01:34 +0000 (11:01 +0200)]
Use C89-style comments
Joel Rosdahl [Sat, 11 Aug 2012 09:01:16 +0000 (11:01 +0200)]
Add quicktest Makefile target
Joel Rosdahl [Thu, 9 Aug 2012 13:10:36 +0000 (15:10 +0200)]
Merge branch 'maint'
* maint:
Rename static_assert macro to avoid clash with any preexisting static_assert
Conflicts:
manifest.c
Joel Rosdahl [Thu, 9 Aug 2012 13:09:16 +0000 (15:09 +0200)]
Rename static_assert macro to avoid clash with any preexisting static_assert
Joel Rosdahl [Thu, 9 Aug 2012 13:04:26 +0000 (15:04 +0200)]
Remove any previous .stderr from cache if recaching
Joel Rosdahl [Wed, 8 Aug 2012 20:43:20 +0000 (22:43 +0200)]
Move log "running preprocessor" to a more appropriate place
Joel Rosdahl [Wed, 8 Aug 2012 16:56:56 +0000 (18:56 +0200)]
Let args_init_from_gcc_atfile split on carriage return as well
Joel Rosdahl [Wed, 8 Aug 2012 16:55:44 +0000 (18:55 +0200)]
Add quicktest Makefile target
Joel Rosdahl [Wed, 8 Aug 2012 14:12:58 +0000 (16:12 +0200)]
Improve log messages of x_unlink and tmp_unlink
Joel Rosdahl [Wed, 8 Aug 2012 14:09:55 +0000 (16:09 +0200)]
Fix coding style
Joel Rosdahl [Wed, 8 Aug 2012 14:05:17 +0000 (16:05 +0200)]
Include ccache version in the debug log
Joel Rosdahl [Wed, 8 Aug 2012 14:00:46 +0000 (16:00 +0200)]
Include more files in dist to comply with GPL's "preferred form" clause
Joel Rosdahl [Wed, 8 Aug 2012 13:57:37 +0000 (15:57 +0200)]
Expand file lists in dev.mk.in to make it easier to add and sort the items
Joel Rosdahl [Tue, 7 Aug 2012 19:26:29 +0000 (21:26 +0200)]
Reorder build options to guarantee usage of bundled zlib headers and libraries
Joel Rosdahl [Tue, 7 Aug 2012 18:50:02 +0000 (20:50 +0200)]
Add --with-bundled-zlib configure option
Based on a suggestion by Patrick von Reth <vonreth@kde.org>.
Joel Rosdahl [Tue, 7 Aug 2012 15:22:21 +0000 (17:22 +0200)]
Merge branch 'maint'
* maint:
make git version macro work if compiled outside of src dir
Joel Rosdahl [Tue, 7 Aug 2012 15:22:16 +0000 (17:22 +0200)]
Let cc_process_args work on a copy of orig_args
This way, orig_args is preserved after expansion of "@file" arguments so
that failed() can mimick the original compilation command.
Joel Rosdahl [Tue, 7 Aug 2012 15:12:33 +0000 (17:12 +0200)]
Fix typo and coding style
Joel Rosdahl [Tue, 7 Aug 2012 15:05:13 +0000 (17:05 +0200)]
Avoid "orig_args" parameters to separate them from the global variable
Boie, Andrew P [Mon, 6 Aug 2012 23:30:55 +0000 (16:30 -0700)]
add support for '@' parameters
These indicate to the compiler that additional command line options
should be read from a text file. If encountered, read the file,
tokenize any arguments, and if any are found, do an in-place replacement
of the '@' parameter with the arguments within the file.
args_insert() added to insert a set of arguments into a position within
another set of arguments.
args_init_from_gcc_atfile() reads and processes the argument files using the
quoting/escape conventions that GCC expects.
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
Patrick von Reth [Thu, 2 Aug 2012 10:58:22 +0000 (12:58 +0200)]
make git version macro work if compiled outside of src dir
Joel Rosdahl [Wed, 1 Aug 2012 14:24:29 +0000 (16:24 +0200)]
Revert "add support for '@' parameters"
This reverts commit
e11912151cadc8d77edd8071c23c4366cc007bfb , which was
pushed erroneously.
Joel Rosdahl [Wed, 1 Aug 2012 12:34:28 +0000 (14:34 +0200)]
Require Windows Vista or later for win32 builds
Based on information from Patrick von Reth <patrick.vonreth@gmail.com>.
Patrick von Reth [Tue, 31 Jul 2012 12:58:02 +0000 (14:58 +0200)]
Implement x_realpath for Windows
Boie, Andrew P [Tue, 31 Jul 2012 00:50:33 +0000 (17:50 -0700)]
add support for '@' parameters
These indicate to the compiler that additional command line options
should be read from a text file. If encountered, read the file,
tokenize any arguments, and if any are found, do an in-place replacement
of the '@' parameter with the arguments within the file.
args_insert() added to insert a set of arguments into a position within
another set of arguments.
args_init_from_string() has been improved so that any character may be
included by prefixing that character with a backslash, and support for
quoted arguments which pass special characters within the quotation marks
unmodified.
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
Joel Rosdahl [Mon, 30 Jul 2012 20:24:26 +0000 (22:24 +0200)]
Merge branch 'maint'
* maint:
hash also Clang plugins
Lubos Lunak [Thu, 26 Jul 2012 12:45:16 +0000 (14:45 +0200)]
hash also Clang plugins
Joel Rosdahl [Sun, 29 Jul 2012 21:27:31 +0000 (23:27 +0200)]
Merge branch 'maint'
* maint:
Simplify generation of relative automatic dependency target
Minor code cleanup
Add test for rewriting of absolute dependency arguments
Make dependency arguments relative to increase cache hits
Correct doc string of make_relative_path
Conflicts:
ccache.c
Joel Rosdahl [Sun, 29 Jul 2012 21:11:10 +0000 (23:11 +0200)]
Simplify generation of relative automatic dependency target
Joel Rosdahl [Sun, 29 Jul 2012 21:01:29 +0000 (23:01 +0200)]
Minor code cleanup
Joel Rosdahl [Sun, 29 Jul 2012 20:53:20 +0000 (22:53 +0200)]
Add test for rewriting of absolute dependency arguments
Lalit Chhabra [Sun, 29 Jul 2012 20:52:51 +0000 (22:52 +0200)]
Make dependency arguments relative to increase cache hits
Joel Rosdahl [Sun, 29 Jul 2012 20:07:44 +0000 (22:07 +0200)]
Correct doc string of make_relative_path
Joel Rosdahl [Sat, 28 Jul 2012 15:17:58 +0000 (17:17 +0200)]
Ignore git's merge conflict files when finding unit tests
Joel Rosdahl [Sat, 28 Jul 2012 15:17:25 +0000 (17:17 +0200)]
Merge branch 'maint'
* maint:
Improve get_relative_path and add unit tests
Canonicalize paths when computing path relative to base directory
Conflicts:
test/test_util.c
util.c
Joel Rosdahl [Sat, 28 Jul 2012 09:50:06 +0000 (11:50 +0200)]
Improve get_relative_path and add unit tests
Joel Rosdahl [Fri, 27 Jul 2012 13:59:13 +0000 (15:59 +0200)]
Canonicalize paths when computing path relative to base directory
This fixes a bug when current working directory contains a "/./" part.
Based on a patch by Eric Blau.
Joel Rosdahl [Sat, 14 Jul 2012 20:07:32 +0000 (22:07 +0200)]
Remove redundant code
Joel Rosdahl [Sat, 14 Jul 2012 19:36:02 +0000 (21:36 +0200)]
Reduce scope of result variables
Joel Rosdahl [Fri, 13 Jul 2012 20:48:50 +0000 (22:48 +0200)]
Fix coding style
Luboš Luňák [Fri, 6 Jul 2012 16:46:25 +0000 (18:46 +0200)]
do not pass incorrect length to remember_include_file()
Luboš Luňák [Fri, 6 Jul 2012 16:45:05 +0000 (18:45 +0200)]
hash clang's .pch file explicitly
It does not appear anywhere in the preprocessed output, so
process_preprocessed_file() would miss it.
Luboš Luňák [Fri, 6 Jul 2012 16:09:36 +0000 (18:09 +0200)]
support for precompiled headers with clang
Support the clang-specific -include-pch option, which references
the PCH file itself, and support the .pch extension when using
the gcc -include way.
Joel Rosdahl [Tue, 3 Jul 2012 09:52:37 +0000 (11:52 +0200)]
Avoid overflowing counter when converting obsolete max size
Joel Rosdahl [Tue, 3 Jul 2012 09:44:55 +0000 (11:44 +0200)]
Avoid overflowing calculation of large max size counter
Joel Rosdahl [Fri, 1 Jun 2012 06:38:41 +0000 (08:38 +0200)]
Joel Rosdahl [Thu, 31 May 2012 21:02:39 +0000 (23:02 +0200)]
Merge branch 'maint'
* maint:
Correctly handle backslash in strings in hash_source_code_string
Clean up code formatting
Conflicts:
hashutil.c
Joel Rosdahl [Thu, 31 May 2012 20:38:49 +0000 (22:38 +0200)]
Correctly handle backslash in strings in hash_source_code_string
Joel Rosdahl [Thu, 31 May 2012 19:38:39 +0000 (21:38 +0200)]
Clean up code formatting
Justin Lebar [Sat, 26 May 2012 16:17:28 +0000 (12:17 -0400)]
Improve documentation for include_file_mtime
Joel Rosdahl [Sun, 13 May 2012 17:24:56 +0000 (19:24 +0200)]
Remove test of check removed in
05ce57e
Joel Rosdahl [Sun, 13 May 2012 16:46:39 +0000 (18:46 +0200)]
Avoid checking for too large values in parse_unsigned
It's not worth the portability hassle
Joel Rosdahl [Sun, 13 May 2012 15:41:03 +0000 (17:41 +0200)]
Use UINT_MAX instead of (unsigned)-1
Joel Rosdahl [Sun, 13 May 2012 15:35:06 +0000 (17:35 +0200)]
Plug minor memory leak
Joel Rosdahl [Sun, 13 May 2012 14:35:38 +0000 (16:35 +0200)]
Avoid reading bad memory when using the "ccache compiler" form
This regression was introduced in
469267b2be49d6acdca5058e3e744a508ce3da5d .
Joel Rosdahl [Tue, 17 Apr 2012 21:23:35 +0000 (23:23 +0200)]
portability: Don't compare signed and unsigned integers
Joel Rosdahl [Sat, 14 Apr 2012 07:11:50 +0000 (09:11 +0200)]
Fix grammar in comment
Joel Rosdahl [Mon, 9 Apr 2012 10:37:49 +0000 (12:37 +0200)]
test: Remove symlink to ccache to avoid installcheck error
Joel Rosdahl [Mon, 9 Apr 2012 10:36:32 +0000 (12:36 +0200)]
Fix build error for C89-only compilers
Joel Rosdahl [Sun, 8 Apr 2012 15:30:40 +0000 (17:30 +0200)]
test: Only run -fprofile-generate tests for compilers that support it
Joel Rosdahl [Sun, 8 Apr 2012 15:20:06 +0000 (17:20 +0200)]
config: Compare with NULL in parse_env_string to please IRIX's compiler
Chris AtLee [Fri, 30 Mar 2012 21:20:35 +0000 (17:20 -0400)]
fix build problems with incorrect pointer assignments
Joel Rosdahl [Wed, 7 Mar 2012 20:24:27 +0000 (21:24 +0100)]
Portability: Don't assume unsetenv has a non-void return type
Joel Rosdahl [Wed, 7 Mar 2012 20:21:43 +0000 (21:21 +0100)]
Merge branch 'maint'
* maint:
Don't crash when stderr is closed
Joel Rosdahl [Wed, 7 Mar 2012 20:10:59 +0000 (21:10 +0100)]
Don't crash when stderr is closed
Joel Rosdahl [Mon, 5 Mar 2012 21:31:04 +0000 (22:31 +0100)]
Portability fixes
Joel Rosdahl [Mon, 5 Mar 2012 21:26:00 +0000 (22:26 +0100)]
Introduce x_unsetenv for increased portability
Joel Rosdahl [Mon, 5 Mar 2012 21:10:57 +0000 (22:10 +0100)]
Make conf_read_valid_config work on systems that don't export $USER
Joel Rosdahl [Mon, 5 Mar 2012 20:36:53 +0000 (21:36 +0100)]
Fix indentation
Joel Rosdahl [Mon, 5 Mar 2012 20:34:32 +0000 (21:34 +0100)]
Fix leftovers of variable-based configuration
Joel Rosdahl [Mon, 5 Mar 2012 20:32:02 +0000 (21:32 +0100)]
Fix typo
Joel Rosdahl [Sun, 4 Mar 2012 16:30:58 +0000 (17:30 +0100)]
Minor documentation tweaks
Joel Rosdahl [Fri, 2 Mar 2012 22:01:27 +0000 (23:01 +0100)]
Make ccache compilable with clang
Joel Rosdahl [Wed, 22 Feb 2012 21:07:55 +0000 (22:07 +0100)]
Solaris build fixes
Joel Rosdahl [Wed, 22 Feb 2012 20:48:03 +0000 (21:48 +0100)]
Renamed CCACHE_CONFIG_PATH to CCACHE_CONFIGPATH for consistency
Joel Rosdahl [Mon, 20 Feb 2012 22:16:25 +0000 (23:16 +0100)]
Merge branch 'master' into config
* master:
Minor code style changes
Support adjusting the compression level through CCACHE_COMPRESS_LEVEL
Conflicts:
MANUAL.txt
ccache.c
Joel Rosdahl [Mon, 20 Feb 2012 21:49:32 +0000 (22:49 +0100)]
Minor code style changes
Hongli Lai (Phusion) [Sun, 19 Feb 2012 23:28:36 +0000 (00:28 +0100)]
Support adjusting the compression level through CCACHE_COMPRESS_LEVEL
Joel Rosdahl [Sun, 19 Feb 2012 19:22:39 +0000 (20:22 +0100)]
Merge branch 'master' into config
* master:
Add -c if missing when compiling a header file
Don't crash when current working directory doesn't exist
Conflicts:
ccache.c
Joel Rosdahl [Sun, 19 Feb 2012 19:19:52 +0000 (20:19 +0100)]
Merge branch 'maint'
* maint:
Add -c if missing when compiling a header file
Don't crash when current working directory doesn't exist
Joel Rosdahl [Sun, 19 Feb 2012 19:19:08 +0000 (20:19 +0100)]
Update manual with new configuration file format and information
Joel Rosdahl [Mon, 13 Feb 2012 19:12:44 +0000 (20:12 +0100)]
Add test for prefix_command
Joel Rosdahl [Mon, 13 Feb 2012 19:02:24 +0000 (20:02 +0100)]
Make format_human_readable_size saner for size < 1000
Joel Rosdahl [Mon, 13 Feb 2012 18:56:19 +0000 (19:56 +0100)]
Minor cleanup
Joel Rosdahl [Wed, 1 Feb 2012 21:12:29 +0000 (22:12 +0100)]
Add -c if missing when compiling a header file
This is to please g++ 4.1.
Joel Rosdahl [Mon, 16 Jan 2012 21:35:39 +0000 (22:35 +0100)]
Don't crash when current working directory doesn't exist
Joel Rosdahl [Sat, 14 Jan 2012 13:24:05 +0000 (14:24 +0100)]
Merge branch 'master' into config
* master:
Prepare for v3.1.7
Joel Rosdahl [Sun, 8 Jan 2012 14:42:49 +0000 (15:42 +0100)]
Merge branch 'maint'
* maint:
Prepare for v3.1.7
Joel Rosdahl [Sun, 8 Jan 2012 14:37:50 +0000 (15:37 +0100)]
Prepare for v3.1.7
Joel Rosdahl [Sun, 8 Jan 2012 14:29:19 +0000 (15:29 +0100)]
Use booleans for truth values
Joel Rosdahl [Sun, 8 Jan 2012 14:17:00 +0000 (15:17 +0100)]
Merge branch 'master' into config
* master:
while (1) -> while (true)
Fixup after merge: Make directory creation failure fatal
Update NEWS
Also recognize -specs=file in addition to --specs=file
Revert GCC bug compatibility for -MTarg and -MQarg
Fix minor memory leaks
Correct log message when unify mode is enabled
Hash environment variables that affect the preprocessor output
Hash mtime or content of GCC plugins specified with -fplugin=
Use hash_compiler for explicit --specs= options as well
Refactor code into a hash_compiler function
Improve description on how to fix bad object files in the cache
Make failure to create files in cache fatal
Make failure to create cache directories fatal
Remove unused print_executed_command function
Handle non-writable CCACHE_DIR gracefully
Conflicts:
manifest.c
test/framework.c