Re: CCACHE_DISABLE vs. unreadable ccache.conf
Joel Rosdahl <[email protected]> Wed, 8 Feb 2017 21:33:45 +0100
| Newsgroups | gmane.comp.compilers.ccache |
|---|---|
| Message-ID | <CAK8D=pg1SzEzMGtC120Rd19O7ywRmgpFrCxggex6W1c4jFt4GQ@mail.gmail.com> |
On 31 January 2017 at 13:00, [email protected] <[email protected]> wrote: > So if I set CCACHE_DISABLE=1 is any reason to read other variables from config files? Well, ccache currently notes in the log file (if enabled) that it is has been disabled before handing over to the compiler. And how to enable logging? You can either set the CCACHE_LOGFILE variable or you can set log_file in the configuration file... Another dependency on the configuration is that CCACHE_PREFIX (prefix_command in the configuration file) is applied even when ccache is disabled. So yes, I think it needs to stay this way. > Should be "Permission denied" error in reading conf files critical? Wouldn't be better to > omit such conf file and emit warning only? Sounds reasonable, I'll look into it. -- Joel