]>
git.ipfire.org Git - thirdparty/ccache.git/log
Joel Rosdahl [Mon, 15 Aug 2011 06:26:36 +0000 (08:26 +0200)]
Merge branch 'master' into config
* master: (22 commits)
Add the newest contributors
Fix potential free() of non-heap memory
Plug minor memory leak
Minor code-style cleanup
Correct win32 ifndefs
Don't crash when getcwd() fails
rework profile directory handling
set output_to_real_object default to false, we get errors handling hardlinks
Using hardlinks if requested
comment
Make sure we only handle known -fprofile flags. Rewrite profile directory to use absolute paths on commandline to increase direct / preprocessed hit rate.
Move -fprofile handling into cc_process_args
Look for .gcda files in profile directory when using profile
Fix profile_use directory, and valgrind warning
refactor to handle profile directories
Use hash_delimeter before hashing profile data
Avoid output_obj being freed by accident
Fix comment style
Hash the cwd if we're outputting to our object file first
handle -fprofile-use
...
Conflicts:
ccache.c
util.c
Joel Rosdahl [Sun, 14 Aug 2011 17:51:51 +0000 (19:51 +0200)]
Add the newest contributors
Joel Rosdahl [Sun, 14 Aug 2011 17:35:24 +0000 (19:35 +0200)]
Fix potential free() of non-heap memory
Joel Rosdahl [Sun, 14 Aug 2011 17:34:44 +0000 (19:34 +0200)]
Plug minor memory leak
Joel Rosdahl [Sun, 14 Aug 2011 17:31:27 +0000 (19:31 +0200)]
Minor code-style cleanup
Joel Rosdahl [Sun, 14 Aug 2011 17:27:25 +0000 (19:27 +0200)]
Merge remote-tracking branch 'catlee/profile'
* catlee/profile:
rework profile directory handling
set output_to_real_object default to false, we get errors handling hardlinks
Using hardlinks if requested
comment
Make sure we only handle known -fprofile flags. Rewrite profile directory to use absolute paths on commandline to increase direct / preprocessed hit rate.
Move -fprofile handling into cc_process_args
Look for .gcda files in profile directory when using profile
Fix profile_use directory, and valgrind warning
refactor to handle profile directories
Use hash_delimeter before hashing profile data
Avoid output_obj being freed by accident
Fix comment style
Hash the cwd if we're outputting to our object file first
handle -fprofile-use
adding tests
Get -fprofile-generate, -fprofile-arcs working
Joel Rosdahl [Sun, 14 Aug 2011 10:03:42 +0000 (12:03 +0200)]
Correct win32 ifndefs
Joel Rosdahl [Wed, 3 Aug 2011 18:31:01 +0000 (20:31 +0200)]
Merge branch 'maint'
* maint:
Don't crash when getcwd() fails
Joel Rosdahl [Wed, 3 Aug 2011 18:10:57 +0000 (20:10 +0200)]
Don't crash when getcwd() fails
Joel Rosdahl [Sun, 31 Jul 2011 21:01:27 +0000 (23:01 +0200)]
Merge branch 'master' into config
* master:
Add missing header to header list in dev.mk.in
Conflicts:
dev.mk.in
Joel Rosdahl [Sun, 31 Jul 2011 20:52:17 +0000 (22:52 +0200)]
Add missing header to header list in dev.mk.in
Joel Rosdahl [Sun, 31 Jul 2011 20:28:26 +0000 (22:28 +0200)]
Add missing headers to dev.mk.in
Chris AtLee [Fri, 29 Jul 2011 21:20:54 +0000 (17:20 -0400)]
rework profile directory handling
Chris AtLee [Fri, 29 Jul 2011 20:55:55 +0000 (16:55 -0400)]
set output_to_real_object default to false, we get errors handling
hardlinks
Chris AtLee [Fri, 29 Jul 2011 20:52:18 +0000 (16:52 -0400)]
Using hardlinks if requested
Chris AtLee [Fri, 29 Jul 2011 20:46:45 +0000 (16:46 -0400)]
comment
Joel Rosdahl [Fri, 29 Jul 2011 19:45:26 +0000 (21:45 +0200)]
Don't fetch current time for each logged configuration item
Joel Rosdahl [Fri, 29 Jul 2011 19:29:43 +0000 (21:29 +0200)]
Log config to log file if enabled
Joel Rosdahl [Fri, 29 Jul 2011 19:15:05 +0000 (21:15 +0200)]
Add cc_log_without_flush
Joel Rosdahl [Fri, 29 Jul 2011 18:58:08 +0000 (20:58 +0200)]
config: Track and print configuration item origins
Joel Rosdahl [Fri, 29 Jul 2011 15:39:53 +0000 (17:39 +0200)]
Use NULL instead of 0 for null pointer
Joel Rosdahl [Fri, 29 Jul 2011 14:01:48 +0000 (16:01 +0200)]
config: Use code generated by gperf for looking up configuration items
Joel Rosdahl [Tue, 26 Jul 2011 20:10:31 +0000 (22:10 +0200)]
config: Add -p/--print-config option
Joel Rosdahl [Tue, 26 Jul 2011 20:10:17 +0000 (22:10 +0200)]
config: Add conf_print_items function
Joel Rosdahl [Tue, 26 Jul 2011 19:53:18 +0000 (21:53 +0200)]
Rename x_asprintf2 to reformat
Joel Rosdahl [Tue, 26 Jul 2011 19:05:50 +0000 (21:05 +0200)]
config: Add -o/--set-option command-line option
Joel Rosdahl [Mon, 25 Jul 2011 21:56:31 +0000 (23:56 +0200)]
config: Adjust the default cache size limit to 5 Gbytes
Joel Rosdahl [Mon, 25 Jul 2011 21:48:23 +0000 (23:48 +0200)]
Let k/M/G/T be 10-based suffixes and introduce 2-based Ki/Mi/Gi/Ti as well
Joel Rosdahl [Mon, 25 Jul 2011 19:47:53 +0000 (21:47 +0200)]
Use real size instead of multiples of 1024 for sizes
Exception: Size values in stats files are still in units of 1024 for
backward compatibility reasons.
Joel Rosdahl [Sun, 24 Jul 2011 15:59:29 +0000 (17:59 +0200)]
test: Fix code formatting
Joel Rosdahl [Sun, 24 Jul 2011 15:58:33 +0000 (17:58 +0200)]
test: Add CHECKM macro that accepts an error message
Joel Rosdahl [Sun, 24 Jul 2011 12:13:15 +0000 (14:13 +0200)]
test: Use an int64_t variant of CHECK_INT_EQ for all integer types
Joel Rosdahl [Sun, 24 Jul 2011 11:54:58 +0000 (13:54 +0200)]
test: Call correct function in CHECK_UNS_EQ
Chris AtLee [Mon, 25 Jul 2011 12:38:01 +0000 (08:38 -0400)]
Make sure we only handle known -fprofile flags. Rewrite profile
directory to use absolute paths on commandline to increase direct /
preprocessed hit rate.
Chris AtLee [Mon, 25 Jul 2011 12:10:44 +0000 (08:10 -0400)]
Move -fprofile handling into cc_process_args
Chris AtLee [Mon, 25 Jul 2011 11:18:38 +0000 (07:18 -0400)]
Look for .gcda files in profile directory when using profile
Minor whitespace fixes; removing unused declaration
Chris AtLee [Sat, 23 Jul 2011 03:21:26 +0000 (23:21 -0400)]
Fix profile_use directory, and valgrind warning
Chris AtLee [Sat, 23 Jul 2011 03:09:05 +0000 (23:09 -0400)]
refactor to handle profile directories
Chris AtLee [Fri, 22 Jul 2011 18:56:31 +0000 (14:56 -0400)]
Use hash_delimeter before hashing profile data
Chris AtLee [Fri, 22 Jul 2011 18:51:40 +0000 (14:51 -0400)]
Avoid output_obj being freed by accident
Chris AtLee [Fri, 22 Jul 2011 18:27:06 +0000 (14:27 -0400)]
Fix comment style
Chris AtLee [Thu, 21 Jul 2011 20:36:35 +0000 (16:36 -0400)]
Hash the cwd if we're outputting to our object file first
Joel Rosdahl [Tue, 19 Jul 2011 20:02:57 +0000 (22:02 +0200)]
Improve error message in case of failed execv()
Joel Rosdahl [Tue, 19 Jul 2011 17:42:13 +0000 (19:42 +0200)]
config: Use files and size limits from config
Joel Rosdahl [Tue, 19 Jul 2011 17:40:50 +0000 (19:40 +0200)]
config: Save primary configuration file path till later
Joel Rosdahl [Tue, 19 Jul 2011 17:37:21 +0000 (19:37 +0200)]
config: Free output from parse_line correctly
Joel Rosdahl [Tue, 19 Jul 2011 10:44:20 +0000 (12:44 +0200)]
config: Implement conf_set_value_in_file()
Joel Rosdahl [Tue, 19 Jul 2011 10:21:57 +0000 (12:21 +0200)]
config: Refactor parse_line to only return parsed key and value
Joel Rosdahl [Mon, 18 Jul 2011 11:15:45 +0000 (13:15 +0200)]
config: Create initial configuration file from stats limits
Joel Rosdahl [Mon, 18 Jul 2011 10:40:19 +0000 (12:40 +0200)]
Teach parse_size_with_suffix to parse float-style sizes
Joel Rosdahl [Mon, 18 Jul 2011 10:22:08 +0000 (12:22 +0200)]
Add utility function format_parsable_size_with_suffix
Joel Rosdahl [Mon, 18 Jul 2011 10:14:28 +0000 (12:14 +0200)]
Add test for format_human_readable_size
Joel Rosdahl [Mon, 18 Jul 2011 10:09:23 +0000 (12:09 +0200)]
Rename format_size to format_human_readable_size
Joel Rosdahl [Sun, 17 Jul 2011 21:12:14 +0000 (23:12 +0200)]
Set orig_args before find_compiler() because it's needed in failed()
Joel Rosdahl [Sun, 17 Jul 2011 10:07:33 +0000 (12:07 +0200)]
config: Assert that conf has been created
Joel Rosdahl [Sun, 17 Jul 2011 09:52:33 +0000 (11:52 +0200)]
config: Use unify from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 21:25:31 +0000 (23:25 +0200)]
config: Use umask from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 20:59:14 +0000 (22:59 +0200)]
config: Use temporary_dir from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 19:56:51 +0000 (21:56 +0200)]
config: Use stats from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 19:48:11 +0000 (21:48 +0200)]
config: Use sloppiness from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 18:05:20 +0000 (20:05 +0200)]
config: Use run_second_cpp from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 17:41:02 +0000 (19:41 +0200)]
config: Use recache from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 17:37:14 +0000 (19:37 +0200)]
config: Use read_only from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 17:33:45 +0000 (19:33 +0200)]
config: Use prefix_command from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 16:31:49 +0000 (18:31 +0200)]
config: Use path from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 16:31:38 +0000 (18:31 +0200)]
Add test for CCACHE_PATH
Joel Rosdahl [Sat, 16 Jul 2011 15:57:52 +0000 (17:57 +0200)]
config: Use log_file from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 15:34:50 +0000 (17:34 +0200)]
config: Use hash_dir from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 15:31:53 +0000 (17:31 +0200)]
config: Use hard_link from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 15:26:46 +0000 (17:26 +0200)]
config: Use extra_files_to_hash from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 15:14:29 +0000 (17:14 +0200)]
config: Use disable from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 15:11:46 +0000 (17:11 +0200)]
config: Use direct_mode from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 15:11:36 +0000 (17:11 +0200)]
config: Handle CCACHE_NO* environment variables
Chris AtLee [Wed, 20 Jul 2011 06:34:41 +0000 (02:34 -0400)]
handle -fprofile-use
Chris AtLee [Wed, 20 Jul 2011 06:04:52 +0000 (02:04 -0400)]
adding tests
Chris AtLee [Wed, 20 Jul 2011 05:55:01 +0000 (01:55 -0400)]
Get -fprofile-generate, -fprofile-arcs working
Joel Rosdahl [Sat, 16 Jul 2011 14:07:46 +0000 (16:07 +0200)]
config: Use detect_shebang from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 13:53:28 +0000 (15:53 +0200)]
config: Use cpp_extension from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 13:48:52 +0000 (15:48 +0200)]
config: Use compression from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 13:43:58 +0000 (15:43 +0200)]
Minor tweaks to HACKING.txt
Joel Rosdahl [Sat, 16 Jul 2011 13:39:38 +0000 (15:39 +0200)]
config: Remove obsolete references to CCACHE_NOCOMPRESS
Joel Rosdahl [Sat, 16 Jul 2011 13:33:37 +0000 (15:33 +0200)]
config: Use compiler_check from conf struct
Joel Rosdahl [Sat, 16 Jul 2011 13:32:47 +0000 (15:32 +0200)]
config: Bail out on bad environment variable settings
Joel Rosdahl [Sat, 16 Jul 2011 13:32:24 +0000 (15:32 +0200)]
config: Correctly interpret boolean environment variables
Joel Rosdahl [Sat, 16 Jul 2011 13:31:05 +0000 (15:31 +0200)]
config: Allow empty string (meaning "disabled") in verify_absolute_path
Joel Rosdahl [Thu, 14 Jul 2011 19:46:58 +0000 (21:46 +0200)]
config: Use compiler from conf struct
Joel Rosdahl [Thu, 14 Jul 2011 19:35:28 +0000 (21:35 +0200)]
config: Use cache_dir_levels from conf struct
Joel Rosdahl [Thu, 14 Jul 2011 17:57:33 +0000 (19:57 +0200)]
config: Use cache_dir from conf struct
Joel Rosdahl [Tue, 12 Jul 2011 19:30:52 +0000 (21:30 +0200)]
config: First steps towards supporting config files
Joel Rosdahl [Tue, 12 Jul 2011 19:30:01 +0000 (21:30 +0200)]
Correctly free name in expand_variable
Joel Rosdahl [Sat, 14 May 2011 20:52:28 +0000 (22:52 +0200)]
Print "ccache: error: " instead of "ccache: FATAL: " for fatal ccache errors
Joel Rosdahl [Mon, 25 Apr 2011 12:06:36 +0000 (14:06 +0200)]
Rename value_units to parse_size_with_suffix and handle errors
Joel Rosdahl [Sun, 3 Apr 2011 19:51:10 +0000 (21:51 +0200)]
Add subst_env_in_string function
Joel Rosdahl [Mon, 30 May 2011 19:33:23 +0000 (21:33 +0200)]
Merge branch 'maint'
* maint:
Rewrite argument to --sysroot if CCACHE_BASEDIR is used
Fix stats display alignment for preprocessing
Conflicts:
test/test_argument_processing.c
Joel Rosdahl [Wed, 27 Oct 2010 19:27:33 +0000 (20:27 +0100)]
Rewrite argument to --sysroot if CCACHE_BASEDIR is used
Based on a patch by Bo <yebo9098@gmail.com>.
Jon Bernard [Mon, 30 May 2011 16:42:04 +0000 (12:42 -0400)]
Fix stats display alignment for preprocessing
Joel Rosdahl [Sun, 29 May 2011 16:14:25 +0000 (18:14 +0200)]
Merge branch 'maint'
* maint:
Minor spelling tweak
Prepare for v3.1.5
Joel Rosdahl [Sun, 29 May 2011 16:14:08 +0000 (18:14 +0200)]
Minor spelling tweak
Joel Rosdahl [Sun, 29 May 2011 15:45:28 +0000 (17:45 +0200)]
Prepare for v3.1.5
Joel Rosdahl [Sat, 21 May 2011 18:10:41 +0000 (20:10 +0200)]
Merge branch 'maint'
* maint:
Only link with -lm if needed
Move up "can't use precompiled header" stat so that cache size is at end