opt/ccache
Danny Rawlins 5743963242 [notify] ccache: 3.7.12 -> 4.0
New dependency cmake
Changed compression algorithm from Deflate (zlib) to Zstandard, zstd will be used if installed, else it'll compile ccache staticly with a local zstd copy
Changed hash algorithm from MD4 to BLAKE3
Improved cache directory structure
Changed the default cache directory location to follow the XDG base directory specification
The CCACHE_DIR environment variable still overrides the default location just like before
The cache directory structure has changed compared to previous versions (more details below). This means that ccache 4.0 will not share cache results with earlier versions. It is however safe to run ccache 4.0 and earlier versions against the same cache directory: cache bookkeeping, statistics and cleanup are backward compatible, with the minor exception that some statistics counters incremented by ccache 4.0 won’t be visible when running ccache -s with an older version
https://ccache.dev/releasenotes.html#_ccache_4_0
2020-10-28 23:07:11 +11:00
..
.footprint update romster ports for new man page location 2015-11-04 14:37:36 +11:00
.signature [notify] ccache: 3.7.12 -> 4.0 2020-10-28 23:07:11 +11:00
ccache-man.patch [notify] ccache: 3.7.12 -> 4.0 2020-10-28 23:07:11 +11:00
Pkgfile [notify] ccache: 3.7.12 -> 4.0 2020-10-28 23:07:11 +11:00
README ccache: 3.2 -> 3.2.1 2015-02-12 00:02:59 +11:00

POSTINSTALL

  There are two ways to use ccache. You can either prefix your compilation
  commands with ccache or you can let ccache masquerade as the compiler by
  prepending /usr/lib/ccache to your $PATH environment variable. The first
  method is most convenient if you just want to try out ccache or wish to
  use it for some specific projects. The second method is most useful for
  when you wish to use ccache for all your compilations.

  You can also set CC and CXX like so,
  export CC='ccache gcc' ; export CXX='ccache g++' to /etc/pkgmk.conf
  But this method can break on some packages not expecting a space in
  CC or CXX.

  You might also want to change the ccache directory, using the CCACHE_DIR
  environement variable. (I personally use
  export CCACHE_DIR="/var/cache/ccache").

  You may also want to use distcc as a backend to ccache by setting
  export CCACHE_PREFIX="distcc"

  Also if you plan to use this same cache between different crux versions and
  compiler versions, you can do something like this
  export CCACHE_COMPILERCHECK="%compiler% -dumpversion; crux"
  to prevent cache errors.