User:Mattx86/qwn:Enabling ccache

From Alpine Linux
Revision as of 04:33, 5 April 2011 by Mattx86 (talk | contribs) (Created page with "''"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,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

"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++."

To enable ccache, first install ccache:

apk add ccache

Next, add it to your path by placing the following in your ~/.profile for ash or ~/.bash_profile for bash.

export PATH="/usr/lib/ccache/bin:$PATH"