[Scons-users] TempFileMunge conflicts with ccache
Mats Wichmann
mats at wichmann.us
Wed Dec 19 13:15:27 EST 2018
On 12/6/18 10:14 AM, Andrew C. Morrow wrote:
> It appears that TempFileMunge just assumes that only the first token of the
> command is actually the "compiler", and ends up feeding the response file
> directly to ccache, rather than invoking, say `ccache
> g++ @/path/to/temp/file`.
>
> On the other hand, could this even work in principle? Is ccache smart
> enough to know to "see into" the response file in order to interact with
> its cache correctly?
ccache doesn't deal with complex lines at all (specifically including
link lines), it just punts it to the compiler. So in theory it "should
work" - by not doing anything. Whether that's true or not in practice...
More information about the Scons-users
mailing list