Bug 252088 - [NEW PORT] devel/ccache-devel: Tool to minimize the compile time of C/C++ programs (Development Branch)
Summary: [NEW PORT] devel/ccache-devel: Tool to minimize the compile time of C/C++ pro...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: needs-patch
Depends on:
Blocks:
 
Reported: 2020-12-23 18:08 UTC by Ivan Rozhuk
Modified: 2022-07-02 14:47 UTC (History)
6 users (show)

See Also:
koobs: maintainer-feedback? (rozhuk.im)


Attachments
patch (10.62 KB, patch)
2020-12-23 18:08 UTC, Ivan Rozhuk
no flags Details | Diff
patch (10.68 KB, patch)
2021-02-12 13:04 UTC, Ivan Rozhuk
no flags Details | Diff
ccache 4.3 (9.50 KB, patch)
2021-08-10 05:29 UTC, Oleg Sidorkin
osidorkin: maintainer-approval?
Details | Diff
patch for ccache-devel support in Mk scripts (807 bytes, patch)
2021-08-10 05:31 UTC, Oleg Sidorkin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Rozhuk 2020-12-23 18:08:20 UTC
Created attachment 220870 [details]
patch

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.

WWW: https://ccache.samba.org/
Comment 1 Ivan Rozhuk 2021-02-12 13:04:25 UTC
Created attachment 222388 [details]
patch

4.2
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2021-07-11 02:16:12 UTC
^Triage: 4.3 is now GA (released),
Comment 3 Oleg Sidorkin 2021-08-10 05:29:19 UTC
Created attachment 227068 [details]
ccache 4.3

updated patch for ccache 4.3
Comment 4 Oleg Sidorkin 2021-08-10 05:31:02 UTC
Created attachment 227069 [details]
patch for ccache-devel support in Mk scripts
Comment 5 Oleg Sidorkin 2022-03-31 12:09:50 UTC
ccache is 4.6 now. It has automatic management of cache directory tree depth and secondary (i.e. shared) storage support.

Could the new version be committed as a separate port?