-
Notifications
You must be signed in to change notification settings - Fork 473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify determining what caused the caching to fail #1096
Comments
There is an easier way: Set It would perhaps be possible to introduce another kind of log file where only "problems" (whatever that is) are logged, but I'm not sure it that would be worth the effort when the information is already present in the standard log.
That's unfortunately not possible since ccache is not allowed to print to stdout or stderr. The reason for this is that it then wouldn't behave as the real compiler.
Do you mean to include something like |
That's probably awkward but what about setting something like an environment variable like |
That could work. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
We introduced the stats_log for scenarios where the log_file (with all the debugging information) would be too much to handle, there could be another log to record the filenames only (presumably compare this with changed files) I think I had something where the compile command was kept in the log, that is now available in CCACHE_DEBUG. Could add the file name as "comments" to the command line (to extract or search for), like we did in the stats_log?
stats_log
|
It would be nice if it was easier to determine what kind of compiler options stopped ccache from working.
Currently you have to set CCACHE_DEBUG and capture the files and grep through them manually for the
Compiler option -Yc .....hxx is unsupported
.Maybe it could be reported while compiling (in verbose mode) or somehow capture it in the statistics output.
The text was updated successfully, but these errors were encountered: