./devel/ccache, Cache for C/C++ compilers

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.3.4, Package name: ccache-3.3.4, Maintainer: pkgsrc-users

ccache is a compiler cache. It acts as a caching pre-processor
to C/C++ compilers, using the -E compiler switch and a hash to
detect when a compilation can be satisfied from cache. This
often results in a 5 to 10 times speedup in common compilations.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 555cd9e8991bbf73ea265390f86ff261afd52a2f
RMD160: 5a6d6f766ac073717e51baa560c18f384fefdf49
Filesize: 439.36 KB

Version history: (Expand)


CVS history: (Expand)


   2017-02-26 11:17:00 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
ccache 3.3.4:

New features and improvements:
* Documented the different cache statistics counters.

Bug fixes:
* Fixed a regression in ccache 3.3 related to potentially bad content of \ 
dependency files when compiling identical source code but with different source \ 
paths. This was only partially fixed in 3.3.2 and reverts the new “Names of \ 
included files are no longer included in the hash of the compiler’s \ 
preprocessed output” feature in 3.3.
* Corrected statistics counter for -optf/--options-file failure.
* Fixed undefined behavior warnings in ccache found by -fsanitize=undefined.
   2016-10-31 11:54:30 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
Changes 3.3.3:
* ccache now detects usage of .incbin assembler directives in the source code \ 
and avoids caching such compilations.
   2016-10-25 14:12:43 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
Changes 3.3.2:
* Fixed a regression in ccache 3.3 related to potentially bad content of \ 
dependency files when compiling identical source code but with different source \ 
paths.
* Fixed a regression in ccache 3.3.1: ccache could get confused when using the \ 
compiler option -Wp, to pass multiple options to the preprocessor, resulting in \ 
missing dependency files from direct mode cache hits.
   2016-09-20 14:36:20 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
Changes 3.3.1:
* Fixed a problem in the “multiple -arch options” support introduced in 3.3. \ 
When using the direct mode (the default), different combinations of -arch \ 
options were not detected properly.
* Fixed an issue when compiler option -Wp,-MT,path is used instead of -MT path \ 
(and similar for -MF, -MP and -MQ) and run_second_cpp (CCACHE_CPP2) is enabled.
   2016-08-28 15:44:18 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
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.
   2016-08-09 15:14:17 by Makoto Fujiwara | Files touched by this commit (2) | Package updated
Log message:
Updated devel/ccache 3.2.5 to 3.2.7
-----------------------------------
ccache 3.2.7
------------
Release date: 2016-07-20

Bug fixes
~~~~~~~~~
- Fixed a bug which could lead to false cache hits for compiler command lines
  with a missing argument to an option that takes an argument.

- ccache now knows how to work around a glitch in the output of GCC 6's
  preprocessor.

ccache 3.2.6
------------
Release date: 2016-07-12

Bug fixes
~~~~~~~~~
- Fixed build problem on QNX, which lacks ``SA_RESTART''.

- Bail out on compiler option `-fstack-usage` since it creates a `.su` file
  which ccache currently doesn't handle.

- Fixed a bug where (due to ccache rewriting paths) the compiler could choose
  incorrect include files if `CCACHE_BASEDIR` is used and the source file path
  is absolute and is a symlink.
   2016-04-25 12:24:48 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
ccache 3.2.5

New features and improvements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Only pass clang-specific `-stdlib=` to the preprocessor.
- Improved handling of stale NFS handles.
- Made it harder to misinterpret documentation of boolean environment settings'
  semantics.

Bug fixes
~~~~~~~~~
- Include m4 files used by configure.ac in the source dist archives.
- Corrected "Performance" section in the manual regarding `__DATE_`, \ 
`__TIME__`
  and `__FILE__` macros.
- Fixed build on Solaris 10+ and AIX 7.
- Fixed failure to create directories on QNX.
- Don't (try to) update manifest file in ``read-only'' and ``read-only direct''
  modes.
- Fixed a bug in caching of `stat` system calls in ``file_stat_matches
  sloppiness mode''.
- Fixed bug in hashing of clang plugins, leading to unnecessary cache misses.
- Fixed --print-config to show ``pch_defines sloppiness''.
- The man page is now built when running ``make install'' from Git repository
  sources.
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.