[Scons-users] cache not working as expected for a recompile in another directory
trtanner at btinternet.com
Mon Nov 16 14:46:20 EST 2015
On 16/11/15 16:05, Abt, Johannes wrote:
> 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?
> Scons-users mailing list
> Scons-users at scons.org
The directory name will be included in the command line, which is
included as part of the calculation when determining if something needs
to be built.
More information about the Scons-users