From 37f35762aaf301636263ccd161cbf34d5d0227d0b8342a8e0e5bb059bf6f3d67 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Mon, 19 Jul 2010 18:53:22 +0000 Subject: [PATCH] Accepting request 43323 from devel:tools:building Copy from devel:tools:building/ccache based on submit request 43323 from user puzel OBS-URL: https://build.opensuse.org/request/show/43323 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ccache?expand=0&rev=8 --- ccache-2.4.tar.bz2 | 3 --- ccache-3.0.1.tar.bz2 | 3 +++ ccache.changes | 49 ++++++++++++++++++++++++++++++++++++++++++++ ccache.spec | 33 +++++++---------------------- 4 files changed, 59 insertions(+), 29 deletions(-) delete mode 100644 ccache-2.4.tar.bz2 create mode 100644 ccache-3.0.1.tar.bz2 diff --git a/ccache-2.4.tar.bz2 b/ccache-2.4.tar.bz2 deleted file mode 100644 index 8b5e49d..0000000 --- a/ccache-2.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a07dda0f6224688bcc6d36e0a24008202604bce683248edd5ccaef55d1c08873 -size 69753 diff --git a/ccache-3.0.1.tar.bz2 b/ccache-3.0.1.tar.bz2 new file mode 100644 index 0000000..7c2764c --- /dev/null +++ b/ccache-3.0.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9eac4d17d15fcc5ad79c84ee62c844c80aeab4407623e019fa32842ecdae0346 +size 217171 diff --git a/ccache.changes b/ccache.changes index a53afca..06703db 100644 --- a/ccache.changes +++ b/ccache.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Fri Jul 16 08:15:51 UTC 2010 - puzel@novell.com + +- update to ccache-3.0.1 + - bugfixes: + - The statistics counter ``called for link'' is now correctly + updated when linking with a single object file. + - Fixed a problem with out-of-source builds. + +------------------------------------------------------------------- +Mon Jul 12 11:43:54 UTC 2010 - puzel@novell.com + +- update to ccache-3.0 + - notable changes: + - The way the hashes are calculated has changed, so you won't get + cache hits for compilation results stored by older ccache + versions. Because of this, you might as well clear the old + cache directory with `ccache --clear` if you want, unless you + plan to keep using an older ccache version. + - ccache now has a ``direct mode'' where it computes a hash of + the source code (including all included files) and compiler + options without running the preprocessor. By not running the + preprocessor, CPU usage is reduced; the speed is somewhere + between 1 and 5 times that of ccache running in traditional + mode, depending on the circumstances. The speedup will be + higher when I/O is fast (e.g., when files are in the disk + cache). The direct mode can be disabled by setting + +CCACHE_NODIRECT+. + - Support has been added for rewriting absolute paths to relative + paths when hashing, in order to increase cache hit rate when + building the same source code in different directories even + when compiling with `-g` and when using absolute include + directory paths. This is done by setting the `CCACHE_BASEDIR` + environment variable to an absolute path that specifies which + paths to rewrite. + - Object files are now optionally stored compressed in the cache. + The runtime cost is negligible, and more files will fit in the + ccache directory and in the disk cache. Set `CCACHE_COMPRESS` + to enable object file compression. Note that you can't use + compression in combination with the hard link feature. + - A `CCACHE_COMPILERCHECK` option has been added. This option + tells ccache what compiler-identifying information to hash to + ensure that results retrieved from the cache are accurate. + Possible values are: none (don't hash anything), mtime (hash + the compiler's mtime and size) and content (hash the content of + the compiler binary). The default is mtime. +- see /usr/share/doc/packages/ccache/NEWS.txt for complete + release notes + ------------------------------------------------------------------- Wed Jan 25 21:34:51 CET 2006 - mls@suse.de diff --git a/ccache.spec b/ccache.spec index dd3b175..4900a5b 100644 --- a/ccache.spec +++ b/ccache.spec @@ -1,7 +1,7 @@ # -# spec file for package ccache (Version 2.4) +# spec file for package ccache (Version 3.0.1) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,10 +20,10 @@ Name: ccache Summary: Compiler Cache -Version: 2.4 -Release: 138 +Version: 3.0.1 +Release: 1 Group: Development/Languages/C and C++ -License: GPL v2 or later +License: GPLv3+ AutoReqProv: on Url: http://ccache.samba.org/ Source: ccache-%{version}.tar.bz2 @@ -46,18 +46,15 @@ Authors: %setup %build -CFLAGS="$RPM_OPT_FLAGS" ./configure \ - --prefix=%{_prefix} \ - --mandir=%{_mandir} +%configure make %install -rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install %files %defattr(-,root,root) -%doc COPYING README web/*.html +%doc COPYING README.txt NEWS.txt INSTALL.txt %doc %{_mandir}/man1/ccache.1* %{_bindir}/ccache @@ -65,19 +62,3 @@ make DESTDIR=$RPM_BUILD_ROOT install rm -rf $RPM_BUILD_ROOT %changelog -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Thu Sep 29 2005 dmueller@suse.de -- add norootforbuild -* Wed Sep 28 2005 dmueller@suse.de -- add norootforbuild -* Thu Oct 21 2004 ltinkl@suse.cz -- update to version 2.4 -* Mon Sep 29 2003 ltinkl@suse.cz -- update to version 2.3 -* Wed Jul 09 2003 ltinkl@suse.cz -- updated sources to version 2.2 -* Fri Mar 28 2003 vbobek@suse.cz -- provides binary from older distcc package [#25806] -* Mon Feb 10 2003 vbobek@suse.cz -- initial suse release 2.1.1