[Scons-users] cache not working as expected for a recompile in another directory

Abt, Johannes johannes.abt at advantest.com
Mon Nov 16 11:05:57 EST 2015


Hi,

I have the same sources in different directories on the same host. I want to compile the sources in both directories.
And I want to speed up the second compile by using a common cache directory for both compiles.

The compile command is the same on both locations, the output of "g++ -E ..." is the same, even the (generated) object files have the same content.
Though everything gets compiled twice. "--cache-debug=-" tells me that the object files get stored on different locations in the cache.

My question is now: What data does the cache manager(?) use for calculating the hash?

Regards,
Johannes


More information about the Scons-users mailing list