On Tue, 2018-03-27 at 13:58 +0100, Daniel P. Berrangé wrote:
On Fri, Mar 23, 2018 at 10:41:55AM +0100, Andrea Bolognani wrote:
> We install ccache on all guests where it's available, but
> Fedora is the only one actually using it at the moment,
> because it enables it automatically.
>
> Tweak the user's profile so that compilation will use ccache
> if it's installed.
FWIW, Fedra achieves this by modifying PATH instead of setting CC. Don't
see a significant difference / benefit to that though.
It works more transparently, I guess. However, it requires a link
farm to be created, which is fine when the ccache package itself
ships it (as is the case in Fedora), but I wouldn't necessarily
want to reimplement that here :)
--
Andrea Bolognani / Red Hat / Virtualization