Bug 11712 - allow CCACHE_UNIFY and CCACHE_DIRECT to be used together
Summary: allow CCACHE_UNIFY and CCACHE_DIRECT to be used together
Alias: None
Product: ccache
Classification: Unclassified
Component: ccache (show other bugs)
Version: 3.2.1
Hardware: All All
: P5 enhancement
Target Milestone: ---
Assignee: Joel Rosdahl
QA Contact: Joel Rosdahl
Depends on:
Reported: 2016-02-04 00:29 UTC by mblythester+ccache
Modified: 2016-06-11 17:03 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description mblythester+ccache 2016-02-04 00:29:36 UTC
The current documentation says this:

 unify (CCACHE_UNIFY) [boolean]
... Also note that enabling the unifier implies turning off the direct mode.

It seems like these could be used together.  For instance, if the direct hash lookup misses, run the preprocessor and unifier, and lookup that hash.

Alternatively, if ccache already behaves this way, please update the documentation.
Comment 1 Joel Rosdahl 2016-06-11 17:03:55 UTC
Moved to https://github.com/ccache/ccache/issues/99.