Commit graph

18 commits

Author SHA1 Message Date
FUTATSUKI YASUHITO
7be53b7692 Apply changes requested for this pull request 2017-06-21 11:54:06 +09:00
FUTATSUKI YASUHITO
93895f5a51 Add header file in CCache for _WIN32 environment 2017-06-20 01:33:10 +09:00
FUTATSUKI YASUHITO
a706aa146c CCache: take care of program prefix/suffix on configure 2017-06-19 18:35:22 +09:00
William S Fulton
8eb9eebb84 Fix warning compiling with i686-w64-mingw32-gcc 2016-05-29 00:50:00 +01:00
William S Fulton
c4e29fb686 Remove mkstemp replacement for ccache-swig on Cygwin
Cygwin 1.7.0 as well as Cygwin 1.7.24 seem to be working okay
Cygwin 1.7.24 gives gcc warning about dangerous use of mktemp
2013-09-14 15:51:50 -07:00
William Fulton
4ba9365e0f Fix ccache-swig internal error bug due to premature file cleanup
Fixes SF bug 1319 which shows up as a failure in the ccache tests on
Debian 64 bit Wheezy, possibly because ENABLE_ZLIB is defined.

This bug is due to files being too aggressively cleaned up part way
through the caching. The .stderr file is cached and then retrieved
from the cache for displaying to stderr. However, the stats are updated
between caching and using the .stderr file. During the stats update the
cache is cleaned and the newly cached files can be removed if the max
number of files per directory is low. Really the cache should be cleaned
up at exit to solve this (as is done in ccache-3.1). The workaround fix
ensures the cached files are ignored during cleanup, which is a bit
tricky as sometimes files from a previous run have the same time stamp,
so that don't appear to be the oldest in the cache.
2013-05-19 00:59:28 +01:00
William S Fulton
2e68619a9f add some missing stats and logging
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11039 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2009-01-08 17:52:15 +00:00
William S Fulton
5e50d29bb3 Add Win32 ccache locking from Christophe Gisquet patch http://lists.samba.org/archive/ccache/2006q3/000242.html
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10992 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-20 17:20:25 +00:00
William S Fulton
ab29ac767a win32 fixes to pass the ccache test-suite
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10987 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-19 21:41:05 +00:00
William S Fulton
5964f3e27d initial win32 support mostly using ccache-win32-2.4 patches to ccache-2.4
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10982 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-12-17 00:21:13 +00:00
William S Fulton
a65e883912 integrate ccache build
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10920 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-07 17:03:57 +00:00
William S Fulton
e497a9653a create executable name as ccache-swig instead of ccache to avoid conflict with the official ccache
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10918 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-05 16:57:21 +00:00
William S Fulton
59988d9474 initial modifications for ccache to support SWIG
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-05 12:34:15 +00:00
William S Fulton
27e03f3f86 apply debian/patches/12_cachesize_permissions.diff
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10913 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-03 14:08:28 +00:00
William S Fulton
ac1b517350 apply debian/patches/11_utimes.diff
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10912 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-03 14:07:51 +00:00
William S Fulton
0c20caeddc apply debian/patches/07_cachedirtag.diff
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10908 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-03 14:04:15 +00:00
William S Fulton
72caf5920f apply debian/patches/02_ccache-compressed.diff
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10904 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-03 14:02:32 +00:00
William S Fulton
482d91951a Import ccache-2.4 source
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10900 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2008-11-03 13:37:28 +00:00