The FreeBSD Ports Archive

Freebsd | Contact
Welcome to FreeBSD Software


FreeBSD devel : ccache

A tool to minimize the compile time of C/C++ programs

 ccache is a compiler cache.  It acts as a caching pre-processor to C/C++
compilers, using the -E compiler switch and a hash to detect when a
compilation can be satisfied from cache.  This often results in a 5 to 10
times speedup in common compilations. 

http://ccache.samba.org/



ccache history


v. 1.41
date: 2006/11/19 07:26:54;  author: ahze;  state: Exp;  lines: +2 -2
Add links to gcc43

v. 1.40 date: 2006/10/05 23:37:12; author: ahze; state: Exp; lines: +2 -2 - Remove gcc35 link
v. 1.39 date: 2006/03/21 15:06:15; author: ale; state: Exp; lines: +13 -15 - Add CCACHE_CACHE_COMPILER patch - Improve examples - Add two new scripts to enhance buildworld/buildkernel ccache may now be used safely and effectively to build the FreeBSD source tree. Follow the pkg-message tips to exploit it. Approved by: maintainer
v. 1.38 date: 2006/03/07 19:53:42; author: ahze; state: Exp; lines: +1 -1 - Update MASTER_SITES to fix fetch PR: 94179 Submitted by: Shaun Amott Approved by: portmgr (erwin, marcus)
v. 1.37 date: 2006/01/11 23:21:55; author: ahze; state: Exp; lines: +2 -3 - Fix example so it works better with make buildworld if you define NOCCACHE with out installing ccache links in PREFIX/libexec/ccache/ - Add gcc42
v. 1.36 date: 2006/01/11 15:49:25; author: ru; state: Exp; lines: +1 -0 Attempt to attract maintainer's attention to a problem a lot of our users reported when doing "make buildworld" with NOCCACHE defined (hardcodes CC and CXX to "/usr/bin/{cc|c++}").
v. 1.35 date: 2005/11/15 20:03:33; author: ahze; state: Exp; lines: +1 -1 - Add support to turn off hasing the compiler size and mtime via a enviroment variable, this aids in 'buildworld' and 'buildkernel'. CCACHE_NOHASH_SIZE_MTIME This tells ccache to not hash the real compiler's size and modi- fication time. Normally this is the mechanism to detect compiler upgrades. There are situations however, where even though the compiler's size or modification time has changed you can safely use the cached objects (e.g. if as part of your build system the compiler is built as well and the compiler's source has not changed; or if the compiler has only changes that do not affect code generation). Use this feature only if you know what you are doing. Submitted by: schweikh
v. 1.34 date: 2005/10/03 01:58:24; author: ahze; state: Exp; lines: +1 -1 - Add support for gcc41
v. 1.33 date: 2005/04/12 03:25:06; author: obrien; state: Exp; lines: +1 -1 At Kris's request, back out the MACHINE_ARCH spelling correction until after 5.4-RELEASE.
v. 1.32 date: 2005/04/11 08:01:53; author: obrien; state: Exp; lines: +1 -1 Assist getting more ports working on AMD64 by obeying the Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'.
v. 1.31 date: 2005/02/21 11:06:30; author: ahze; state: Exp; lines: +2 -1 - Add a note to icc users about adding LOCALBASE/intel_cc_80/bin to CCACHE_PATH
v. 1.30 date: 2004/12/11 22:26:51; author: ahze; state: Exp; lines: +1 -1 s/LOCALBASE/DOCSDIR/ in pkg-message Submitted by: info@otsune.com
v. 1.29 date: 2004/12/07 08:17:39; author: ahze; state: Exp; lines: +4 -0 - Don't use PKGMESSAGE or install HOWTO if WITHOUT_COMPILER_LINKS is defined Submitted by: Skip Ford
v. 1.28 date: 2004/12/04 23:51:24; author: ahze; state: Exp; lines: +1 -1 - Add a note about reinstalling libtool15 when you change CC/CXX - Add links to gcc/g++
v. 1.27 date: 2004/12/02 14:10:34; author: ahze; state: Exp; lines: +18 -11 - Add a link to gcc32 since it's still used in some ports (ie openoffice) - Move pkg-message in to a file (ccache-howto-freebsd.txt) that is now installed in to DOCSDIR. ccache-howto-freebsd.txt is more informative than pkg-message was, now has better examples so ccache will not fail with some ports that don't like a full path to the compiler. - Add a note about using distcc - Bump PORTREVISION
v. 1.26 date: 2004/11/02 15:51:04; author: ahze; state: Exp; lines: +1 -1 add link to gcc40 Approved by: pav (co mentor)
v. 1.25 date: 2004/10/29 22:24:42; author: ahze; state: Exp; lines: +1 -1 Change email to new FreeBSD.org address Approved by:adamw (mentor)
v. 1.24 date: 2004/10/13 07:56:47; author: edwin; state: Exp; lines: +1 -1 Removed trash at the end of the Makefile. No idea how that ended up there. Submitted by: Michael Johnson
v. 1.23 date: 2004/10/13 03:36:42; author: edwin; state: Exp; lines: +54 -7 [MAINTAINER] devel/ccache: update to 2.4 - Update to 2.4 - Add workaround to use ccache when USE_GCC is used in a port PR: ports/71717 Submitted by: Michael Johnson
v. 1.22 date: 2004/04/19 07:17:33; author: krion; state: Exp; lines: +2 -1 - Remove STRIP_CMD PR: ports/65747 Submitted by: maintainer
v. 1.21 date: 2004/04/19 00:54:53; author: trevor; state: Exp; lines: +3 -1 Use INSTALL_MAN and INSTALL_PROGRAM macros. Approved by: Michael Johnson (maintainer) PR: 65739
v. 1.20 date: 2004/04/18 07:42:30; author: krion; state: Exp; lines: +3 -2 - Assign maintainership to submitter - strip(1) binary PR: ports/65692 Submitted by: michael johnson
v. 1.19 date: 2004/03/30 09:41:59; author: krion; state: Exp; lines: +12 -0 - Add PORTDOCS PR: ports/64925 Submitted by: michael johnson
v. 1.18 date: 2004/02/05 20:37:02; author: trevor; state: Exp; lines: +1 -0 Use PLIST_FILES. Reviewed by: marcus
v. 1.17 date: 2003/09/28 12:05:45; author: naddy; state: Exp; lines: +1 -1 Update to 0.3. PR: 57304 Submitted by: Clement Laforet
v. 1.16 date: 2003/09/24 08:37:35; author: edwin; state: Exp; lines: +1 -1 Cease FreeBSD port maintainerships I don't have the time to give to many of the ports I maintain at the moment. I wasn't expecting to be so busy this summer ... Please set all my ports back to ports@freebsd.org. PR: ports/56935 Submitted by: Dominic Marks ,Clement Laforet ,Oliver Eikemeier
v. 1.15 date: 2003/06/24 01:06:02; author: leeym; state: Exp; lines: +1 -1 update maintainer's email address. PR: 53658 Submitted by: Dominic Marks
v. 1.14 date: 2003/03/23 18:51:53; author: arved; state: Exp; lines: +1 -1 Upate to 2.2 PR: 49113 Submitted by: Dominic Marks
v. 1.13 date: 2003/02/21 11:22:27; author: knu; state: Exp; lines: +1 -0 De-pkg-comment.
v. 1.12 date: 2003/01/10 09:44:57; author: nork; state: Exp; lines: +1 -1 Update to 2.1.1. Approved by: Dominic Marks (maintainer)
v. 1.11 date: 2003/01/08 15:37:16; author: roam; state: Exp; lines: +1 -1 Update to ccache-2.1, which fixes a segfault when ccache(1) is invoked without a -o outfile option. Approved by: maintainer
v. 1.10 date: 2003/01/07 12:30:59; author: roam; state: Exp; lines: +1 -1 Update to ccache-2.0. PR: 46820 Submitted by: maintainer
v. 1.9 date: 2002/11/02 04:33:42; author: perky; state: Exp; lines: +2 -2 Fix typoes on MAINTAINER address. Submitted by: Dominic Marks
v. 1.8 date: 2002/10/08 12:10:35; author: perky; state: Exp; lines: +2 -2 Update maintainer address PR: 43820 Submitted by: Dominic Marks
v. 1.7 date: 2002/05/14 01:08:27; author: pat; state: Exp; lines: +1 -1 Update to 1.9 PR: 38028 Submitted by: maintainer
v. 1.6 date: 2002/04/29 19:44:26; author: pat; state: Exp; lines: +1 -1 Update to 1.8 PR: 37565 Submitted by: maintainer
v. 1.5 date: 2002/04/10 12:17:07; author: sobomax; state: Exp; lines: +1 -1 Update to 1.7. PR: 36961 Submitted by: maintainer
v. 1.4 date: 2002/04/08 20:01:35; author: lioux; state: Exp; lines: +1 -1 Update to 1.6 PR: 36886 Submitted by: maintainer
v. 1.3 date: 2002/04/05 19:51:41; author: lioux; state: Exp; lines: +1 -1 Update to 1.4 PR: 36787 Submitted by: maintainer
v. 1.2 date: 2002/04/01 17:32:23; author: pat; state: Exp; lines: +1 -1 Update to 1.3 PR: 36611 Submitted by: maintainer
v. 1.1 date: 2002/03/31 17:07:10; author: pat; state: Exp; Add new port devel/ccache - A tool to minimize the compile time of C programs PR: 36572 Submitted by: Dominic Marks =============================================================================



Main menu

FreeBSD

Program categories

Freebsd accessibility
Freebsd archivers
Freebsd astro
Freebsd audio
Freebsd benchmarks
Freebsd biology
Freebsd cad
Freebsd chinese
Freebsd comms
Freebsd converters
Freebsd databases
Freebsd deskutils
Freebsd devel
Freebsd dns
Freebsd editors
Freebsd emulators
Freebsd finance
Freebsd french
Freebsd ftp
Freebsd games
Freebsd german
Freebsd graphics
Freebsd hebrew
Freebsd hungarian
Freebsd irc
Freebsd japanese
Freebsd java
Freebsd korean
Freebsd lang
Freebsd mail
Freebsd math
Freebsd mbone
Freebsd misc
Freebsd multimedia
Freebsd net
Freebsd net-im
Freebsd net-mgmt
Freebsd net-p2p
Freebsd news
Freebsd palm
Freebsd polish
Freebsd ports-mgmt
Freebsd portuguese
Freebsd print
Freebsd russian
Freebsd science
Freebsd security
Freebsd shells
Freebsd sysutils
Freebsd textproc
Freebsd ukrainian
Freebsd vietnamese
Freebsd www
Freebsd x11
Freebsd x11-clocks
Freebsd x11-drivers
Freebsd x11-fm
Freebsd x11-fonts
Freebsd x11-servers
Freebsd x11-themes
Freebsd x11-toolkits
Freebsd x11-wm