Re: scons interactive mode

Julien Pommier <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
Note: I can reproduce it using this SConstruct (so no VariantDir as in my previous mail):

CacheDir('cache')
env = Environment()
env.Program('test', 'test.c')


and this test.c:

int main() {
  return 0;
}



> On 14 Jul 2020, at 18:26, Julien Pommier <[email protected]> wrote:
> 
> Hi,
> 
> I’m not sure I’m doing it right, but it seems to me that "scons —interactive" is broken. I’m using scons 4.0.0 but I recall testing that in the past with scons 3 and having the same issue:
> 
> > scons —interactive
> 
> scons>>> build
> (build runs, everything is fine)
> 
> scons>>> build
> scons: Building targets ...
> scons: `.' is up to date.
> scons: done building targets.
> scons: Clearing cached node information ...
> scons: done clearing node information.
> 
> (now I edit one of the files, adding an error in the c file that will cause the compilation to fail)
> scons>>> build
> scons: Building targets ...
> Retrieved `build/test.o' from cache
> scons: done building targets.
> scons: Clearing cached node information ...
> scons: done clearing node information.
> 
> So instead of re-compiling test.c (and failing on the error I inserted in test.c) it is retrieving some test.o from the cache.
> 
> 
> 
> 
> _______________________________________________
> Scons-users mailing list
> [email protected]
> https://pairlist4.pair.net/mailman/listinfo/scons-users

_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.