Bug 11712 - allow CCACHE_UNIFY and CCACHE_DIRECT to be used together
allow CCACHE_UNIFY and CCACHE_DIRECT to be used together
Product: ccache
Classification: Unclassified
Component: ccache
All All
: P5 enhancement
: ---
Assigned To: Joel Rosdahl
Joel Rosdahl
Depends on:
  Show dependency treegraph
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.