Sun Aug 28 13:44:18 2016 UTC ()
Updated devel/ccache 3.2.7 to 3.3
---------------------------------
ccache 3.3
----------
Release date: 2016-08-27

Notes
~~~~~
- A C99-compatible compiler is now required to build ccache.

New features and improvements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- The configuration option `run_second_cpp` (`CCACHE_CPP2`) now defaults to
  true. This improves ccache's out-of-the-box experience for compilers that
  can't compile their own preprocessed output with the same outcome as if they
  compiled the real source code directly, e.g. newer versions of GCC and Clang.

- The configuration option `hash_dir` (`CCACHE_HASHDIR`) now defaults to true.

- Added a new `ignore_headers_in_manifest` configuration option, which
  specifies headers that should be ignored in the direct mode.

- Added a new `prefix_command_cpp` (`CCACHE_PREFIX_CPP`) configuration option,
  which specifies one or several prefixes to add to the command line ccache
  uses when invoking the preprocessor.

- Added a new `limit_multiple` (`CCACHE_LIMIT_MULTIPLE`) configuration option,
  which specifies how much of the cache to remove when cleaning.

- Added a new `keep_comments_cpp` (`CCACHE_COMMENTS`) configuration option,
  which tells ccache not to discard the comments before hashing preprocessor
  output. This can be used to check documentation with *-Wdocumentation*.

- Added a new sloppiness option `no_system_headers`, which tells ccache not to
  include system headers in manifest files.

- Added a new statistics counter that tracks the number of performed cleanups
  due to the cache size being over the limit. The value is shown in the output
  of ``ccache -s''.

- Added support for relocating debug info directory using `-fdebug-prefix-map`.
  This allows for cache hits even when `hash_dir` is used in combination with
  `base_dir`.

- Added a new ``cache hit rate'' field to the output of ``ccache -s''.

- Added support for caching compilation of assembler code produced by e.g.
  ``gcc -S file.c''.

- Added support for cuda including the -optf/--options-file option.

- Added support for Fortran 77.

- Added support for multiple `-arch` options to produce "fat binaries".

- Multiple identical `-arch` arguments are now handled without bailing.

- The concatenated form of some long compiler options is now recognized, for
  example when using `-isystemPATH` instead of `-isystem PATH`.

- If hard-linking is enabled and but fails (e.g. due to cross-device linking),
  ccache now falls back to copying instead of running the compiler.

- Made the `hash_dir` option only have effect when generating debug info.

- ccache now knows how to convert absolute paths to relative paths inside
  dependency files when using `base_dir`.

- Improved parsing of `-g*` options.

- Made ccache understand `-Wp,-D*` options.

- ccache now understands the undocumented `-coverage` (only one dash) GCC
  option.

- Names of included files are no longer included in the hash of the compiler's
  preprocessed output. This leads to more potential cache hits when not using
  the direct mode.

- Increased buffer size used when reading file data. This improves performance
  slightly.

Bug fixes
~~~~~~~~~
- Bail out on too hard compiler option `-P`.

- Fixed clang test suite when running on Linux.

- Fixed build and test for MinGW32 and Windows.


(mef)
diff -r1.33 -r1.34 pkgsrc/devel/ccache/Makefile
diff -r1.23 -r1.24 pkgsrc/devel/ccache/distinfo

cvs diff -r1.33 -r1.34 pkgsrc/devel/ccache/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/ccache/Makefile 2016/08/09 13:14:17 1.33
+++ pkgsrc/devel/ccache/Makefile 2016/08/28 13:44:18 1.34
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.33 2016/08/09 13:14:17 mef Exp $ 1# $NetBSD: Makefile,v 1.34 2016/08/28 13:44:18 mef Exp $
2 2
3DISTNAME= ccache-3.2.7 3DISTNAME= ccache-3.3
4CATEGORIES= devel 4CATEGORIES= devel
5MASTER_SITES= http://samba.org/ftp/ccache/ 5MASTER_SITES= http://samba.org/ftp/ccache/
6# do not use xz distfile here, xz needs gettext-lib which leads to circular 6# do not use xz distfile here, xz needs gettext-lib which leads to circular
7# dependencies on some platforms. 7# dependencies on some platforms.
8#EXTRACT_SUFX= .tar.gz 8#EXTRACT_SUFX= .tar.gz
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://ccache.samba.org/ 11HOMEPAGE= http://ccache.samba.org/
12COMMENT= Cache for C/C++ compilers 12COMMENT= Cache for C/C++ compilers
13LICENSE= gnu-gpl-v3 AND modified-bsd AND public-domain AND zlib 13LICENSE= gnu-gpl-v3 AND modified-bsd AND public-domain AND zlib
14 14
15GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
16 16

cvs diff -r1.23 -r1.24 pkgsrc/devel/ccache/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/ccache/distinfo 2016/08/09 13:14:17 1.23
+++ pkgsrc/devel/ccache/distinfo 2016/08/28 13:44:18 1.24
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.23 2016/08/09 13:14:17 mef Exp $ 1$NetBSD: distinfo,v 1.24 2016/08/28 13:44:18 mef Exp $
2 2
3SHA1 (ccache-3.2.7.tar.gz) = 4c0769c94ca7b5ecef4d69c827e1087c7178d545 3SHA1 (ccache-3.3.tar.gz) = 9a1f5d820f54605f09a92191e9988aced7341b35
4RMD160 (ccache-3.2.7.tar.gz) = 4ccf695f8492a4c1f64e80be2dc478d555acb0ae 4RMD160 (ccache-3.3.tar.gz) = 4791446db1ed5322cff947a1ea0d5553ae4b8968
5SHA512 (ccache-3.2.7.tar.gz) = 86cb39bcc73d386b821dc663d8ac365d0dbff53bc9d43a0f088e240da5386feed51758044d231294cc280558405f7240885bdba21b2c04d2e0416ac9a1eb75b9 5SHA512 (ccache-3.3.tar.gz) = fec4d74c0310c1e4774917f1e3154541902c2a180e7dfa1b32632920cda2943490aeb10e8ea67c9458b2148a8363095d1e43f68cda4e9e46b36f83597b752d82
6Size (ccache-3.2.7.tar.gz) = 446395 bytes 6Size (ccache-3.3.tar.gz) = 444667 bytes