2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 15:20:06 -07:00
repo/extra/ccache
2022-05-15 19:48:13 -05:00
..
build ccache: 4.4 2021-08-20 06:29:37 +03:00
checksums ccache: 4.6.1 2022-05-15 19:48:13 -05:00
depends
post-install
README repo: check-in readmes 2021-08-26 07:22:10 +03:00
sources
version ccache: 4.6.1 2022-05-15 19:48:13 -05:00

ccache
________________________________________________________________________________

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]
* References ............................................................. [005]


[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] References
________________________________________________________________________________

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