[ccache] ccacje direct mode without fall back to running the preprocessor

vkr venkatakrishnarao.ks at gmail.com
Thu Sep 4 01:32:58 MDT 2014

The documentation about "direct mode" says:

The current contents of the include files are then hashed and compared
to the information in the manifest. If there is a match, ccache knows
the result of the compilation. If there is no match, ccache falls back
to running the preprocessor. The output from the preprocessor is
parsed to find the include files that were read. The paths and hash
sums of those include files are then stored in the manifest along with
information about the produced compilation result.

I would like to know if I can avoid
"If there is no match, ccache falls back to running the preprocessor."

The reason is if I know that cache lookup with preprocessor output
will also result in a cache miss, there is no need to run
instead, just fall back directly to running the real compiler, as this
will be faster.

Is there a way to do it?


More information about the ccache mailing list