-
Notifications
You must be signed in to change notification settings - Fork 83
Installation
clcache is written in the Python programming language, which in principle requires no dedicated installation step. The script can be used as is. However, most approaches to integrating clcache into a build system benefit from having a callable program (e.g. an executable) available.
This appears to be defunct right now.
If you have Chocolatey installed, this is the easiest way to install clcache. Simply run
choco install clcache
The package is automatically generated using AppVeyor by the ESSS/clcache-builder project.
You can also use the NuGet package manager to install the clcache package. To do so, simply run the following command in the NuGet package manager console:
PM> Install-Package clcache
You can also use the standard Python utility pip to install clcache. To do so, simply run the following command in a console window:
C:\>pip install ccache
You can also install the most recent development build straight from the source code repository by running:
C:\>pip install git+https://github.com/frerich/clcache.git
You can also generate a self-contained clcache.exe file yourself using PyInstaller. If you don't have it already, installing PyInstaller is usually a matter of running
pip install pyinstaller
Afterwards, you can generate an executable by running
pyinstaller clcache.py
This will put the resulting clcache.exe binary and all its dependencies into
a dist\clcache subdirectory.
Note: The --onefile argument to PyInstaller will make it generate a single monolithic executable file which is very convenient, but also slows things down. See the Caveats wiki page for some further discussion