[Scons-users] Rebuild issue with CheckLib()?

Mats Wichmann mats at wichmann.us
Wed Apr 28 15:45:02 EDT 2021



On Wed, Apr 28, 2021, at 11:58, Mats Wichmann wrote:
> On 4/28/21 1:50 AM, Herzog, Tobias (G3-29) wrote:
> > Hi SCons-Users,
> > 
> > I discovered an issue (?) with missing rebuilds. It seems that rebuilds are not triggered, if the presence of an external lib is tested with the CheckLib Method.

a couple of attempts to further reply to this seem to have completely vanished, I'm retrying from a webmai client (and then the first two will probably show up)

Another mention of this was issue 2757.

It seems that your analysis is pretty on target - the configure check apparently causes the signature of the checked object to be gathered up and saved, and then when the target analysis is done, the saved signature to compare against is the one we just got from the object and so there's nothing out of date and nothing to rebuild.

If the library you're using is part of your project you shouldn't be doing CheckLib on it, that's to test the usablity of external build dependencies (not saying you are, but it seems worth saying anyway...)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20210428/78feb2db/attachment-0001.htm>


More information about the Scons-users mailing list