|/
|\ISS               Tidbits  Posts  Answers  Install  Wiki  Contact  Donate  GitHub


ccache                                                               version 4.4
________________________________________________________________________________

Ccache is a software development tool that caches the output of C/C++
compilation so that the next time, the same compilation can be avoided and the
results can be taken from the cache. This can greatly speed up recompiling time.
The detection is done by hashing different kinds of information that should be
unique for the compilation and then using the hash sum to identify the cached
output. Ccache is licensed under the GNU General Public License. [0]

Upstream: https://ccache.dev/


[000] Index
________________________________________________________________________________

* Installation ........................................................... [001]
* Setup .................................................................. [002]
* Usage .................................................................. [003]
* Troubleshooting ........................................................ [004]
* History ................................................................ [005]
* References ............................................................. [006]


[001] Installation
________________________________________________________________________________

+------------------------------------------------------------------------------+
|                                                                              |
|  $ kiss b ccache                                                             |
|                                                                              |
+------------------------------------------------------------------------------+


[002] Setup
________________________________________________________________________________

To use ccache system-wide add the following to your .profile or shell runtime
configuration file. This will use ccache's wrappers in place of the actual
executables.

+------------------------------------------------------------------------------+
|                                                                              |
| .profile                                                                     |
|                                                                              |
|  1 export PATH=/usr/lib/ccache/bin:$PATH                                     |
|                                                                              |
+------------------------------------------------------------------------------+

If using clang as the system compiler the setup is a little different. Do the
above step and in addition, create the following symbolic links.

+------------------------------------------------------------------------------+
|                                                                              |
|  $ ln -s /usr/bin/ccache /usr/lib/ccache/bin/clang                           |
|  $ ln -s /usr/bin/ccache /usr/lib/ccache/bin/clang++                         |
|                                                                              |
+------------------------------------------------------------------------------+


[003] Usage
________________________________________________________________________________

Refer to the command help output. The package does not yet provide any such
documentation. There is also documentation available online. To verify that
ccache is working the 'ccache -s' command can be used.


[005] History
________________________________________________________________________________

2021-08-20 078ccafb ccache: 4.4
2021-07-17 db801050 ccache: update for new env
2021-07-15 7ff3e56c ccache: use VERSION
2021-06-30 89c8955e ccache: 4.3
2020-11-23 16bf8820 ccache: 4.1
2020-10-20 e40cada6 ccache: fix depends
2020-10-19 1bb480ad ccache: 4.0
2020-10-02 3f06240e ccache: 3.7.12
2020-07-22 8487e4a3 ccache: bump to 3.7.11
2020-06-23 390e5216 ccache: bump to 3.7.10
2020-06-08 330ed81a ccache: Add new message to post-install
2020-04-29 06dba772 ccache: Drop clang (for now)
2020-03-29 19ddf1b6 ccache: bump to 3.7.9
2020-03-17 f3b210b1 ccache: bump to 3.7.8
2020-03-08 20116584 ccache: Clang support
2020-01-06 5df7ad39 ccache: bump to 3.7.7
2019-11-18 94ddf4e9 ccache: bump to 3.7.6
2019-10-23 437c2e19 ccache: bump to 3.7.5
2019-09-13 eb86e29c ccache: add post-install message
2019-09-13 68a6a0ba ccache: bump to 3.7.4
2019-08-20 2a2449a6 ccache: new package at 3.7.3


[006] References
________________________________________________________________________________

[0] https://en.wikipedia.org/wiki/Ccache



________________________________________________________________________________

Dylan Araps (C) 2019-2021

The registered trademark Linux(R) is used pursuant to a sublicense from the
Linux Foundation, the exclusive licensee of Linus Torvalds, owner of the mark
on a world­wide basis.