.. _spkg_ccache:

ccache: A compiler cache
========================

Description
-----------

ccache is a compiler cache. It speeds up recompilation by caching
previous compilations and detecting when the same compilation is being
done again. Supported languages are C, C++, Objective-C and
Objective-C++.

License
-------

GNU General Public License version 3 or later


Upstream Contact
----------------

-  Author: Andrew Tridgell
-  Website: http://ccache.samba.org/

Type
----

optional


Dependencies
------------

- :ref:`spkg_zlib`

Version Information
-------------------

package-version.txt::

    3.3.4


Equivalent System Packages
--------------------------

conda:

.. CODE-BLOCK:: bash

    $ conda install  ccache


homebrew:

.. CODE-BLOCK:: bash

    $ brew install ccache


macports:
install the following packages: ccache

opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install ccache


void:

.. CODE-BLOCK:: bash

    $ sudo xbps-install  ccache


See https://repology.org/project/ccache/versions


However, these system packages will not be used for building Sage
because spkg-configure.m4 has not been written for this package;
see :trac:`27330`

