scons icon indicating copy to clipboard operation
scons copied to clipboard

Non-conftest nodes involved in configure checks now get node info cleared after check.

Open dmoody256 opened this issue 3 years ago • 4 comments

Fixes #2757

from https://pairlist4.pair.net/pipermail/scons-users/2022-May/008989.html

Contributor Checklist:

  • [x] I have created a new test or updated the unit tests to cover the new/changed functionality.
  • [x] I have updated CHANGES.txt (and read the README.rst)
  • [ ] I have updated the appropriate documentation

dmoody256 avatar May 26 '22 03:05 dmoody256

Not sure about the sider issue, should the code style remain consistent?

dmoody256 avatar May 26 '22 03:05 dmoody256

What happens when you run scons twice in a row where a real file is used by configure, but nothing depends on it? Does the configure step get rerun?

bdbaddog avatar May 26 '22 04:05 bdbaddog

Not sure about the sider issue, should the code style remain consistent?

punt on this one. There'd be too much to fix.. We'll do a black run on the whole codebase at some point and then enforce.

bdbaddog avatar May 26 '22 04:05 bdbaddog

What happens when you run scons twice in a row where a real file is used by configure, but nothing depends on it? Does the configure step get rerun?

No it uses the cached value. I updated the test to show this.

dmoody256 avatar May 26 '22 05:05 dmoody256

@dmoody256 - so from looking at the code, I think the only possible functional change is that if you were to only run the configure step and no actual build steps the sconsign would be missing the content signature information for all non-configure generated files uses while processing the configure checks?

Does that sound correct?

bdbaddog avatar Jan 27 '23 17:01 bdbaddog

@dmoody256 - so from looking at the code, I think the only possible functional change is that if you were to only run the configure step and no actual build steps the sconsign would be missing the content signature information for all non-configure generated files uses while processing the configure checks?

Does that sound correct?

Yes

dmoody256 avatar Jan 27 '23 17:01 dmoody256