Ccache is a compiler cache. It speeds up recompilation by caching previous compilations and detecting when the same compilation is being done again. Ccache is free software, released under the GNU General Public License version 3 or later. Supports GCC, Clang, MSVC (Microsoft Visual C++) and other similar compilers. Works on Linux, macOS, other Unix-like operating systems and Windows. Understands C, C++, assembler, CUDA, Objective-C and Objective-C++. Supports secondary storage over HTTP (e.g. using Nginx or Google Cloud Storage), Redis or local filesystem, optionally sharding data onto a server cluster. Supports fast "direct" and "depend" modes that don't rely on using the preprocessor. Supports compression using Zstandard. Checksums cache content using XXH3 to detect data corruption. Keeps statistics on hits/misses. Automatic cache size management. Easy installation.

Features

  • Easy installation, easy to use
  • Low overhead
  • Support for rewriting absolute paths to relative in order to increase the cache hit ratio
  • Optionally uses file cloning (AKA “reflinks”) where possible to avoid copies
  • Optionally uses hard links where possible to avoid copies
  • Keeps statistics on hits/misses

Project Samples

Project Activity

See All Activity >

Categories

Compilers

Follow Ccache

Ccache Web Site

Other Useful Business Software
Train ML Models With SQL You Already Know Icon
Train ML Models With SQL You Already Know

BigQuery automates data prep, analysis, and predictions with built-in AI assistance.

Build and deploy ML models using familiar SQL. Automate data prep with built-in Gemini. Query 1 TB and store 10 GB free monthly.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Ccache!

Additional Project Details

Programming Language

C++

Related Categories

C++ Compilers

Registered

2022-05-25