[Scons-users] How to force a re-building of a cached file using the env.CacheDir() feature.
Mats Wichmann
mats at wichmann.us
Wed Feb 1 13:11:05 EST 2023
On 2/1/23 10:45, Mats Wichmann wrote:
> On 1/30/23 18:34, Don Baldwin wrote:
>> So is there a way to find the bsig of a target?
Just looked and clearly this is not as simple as it might be:
$ run-some-test-with-caching-enabled...
$ sconsign -a
=== .:
SConstruct:
foo:
6293927e47c2d0eb778d7d6989fb19ee [$LINK -o $TARGET $LINKFLAGS
$__RPATH $SOURCES $_LIBDIRFLAGS $_LIBFLAGS]
main.cc:
main.h:
main.o:
cb78129da987f7a6be111e427578411e [$CXX -o $TARGET -c $CXXFLAGS
$CCFLAGS $_CCCOMCOM $SOURCES]
=== /bin:
g++:
$ find /tmp/sconscache -type f
/tmp/sconscache/45/45121afd6eb19420bd5a92325be93e0f
/tmp/sconscache/3B/3b9b405a60a1850cbaed79656082fbc2
So the stored bactsig is not the same as the signature used to create
the cache filenames.
More information about the Scons-users
mailing list