Login | Register
My pages Projects Community openCollabNet

Discussions > SCons Development (OBSOLETE) > Re: [scons-dev] call for pre-testing next release: 0.95.1 available

Project highlights:

14 Nov 2017: Release 3.0.1 is now available at the download page.

18 Sep 2017: Release 3.0.0 is now available at the download page.

03 Nov 2016: Release 2.5.1 is now available at the download page.

scons
Discussion topic

Back to topic list

Re: [scons-dev] call for pre-testing next release: 0.95.1 available

Author Anthony Roach <aroach at electriceyeball dot com>
Full name Anthony Roach <aroach at electriceyeball dot com>
Date 2004-06-17 07:11:05 PDT
Message Steven Knight wrote:
> I am working on preparing SCons version 0.96 for release. I'm asking
> for your help in testing out a pre-release 0.95.1 version, so that we
> can shake out more problems before the official release.

I just tried it on one of my builds and it seems to work fine. I use the old
style .sconsign files rather than the new database backed ones, so I can't
comment on that. I did notice that when I upgraded to 0.95.1 it didn't rebuild
everything (it did rebuild some things, which is odd) or spit out a bunch of
corrupt .sconsign warnings, which is good. My no-op build time with
--implicit-cache and --max-drift=1 went from 3s in 0.95 to 5s in 0.95.1. Using
--save-explain-info=0 didn't change the no-op build time at all. I've attached
profile runs for no-op builds with 0.95 and 0.95.1 with --save-explain-info=0. A
quick glance at the profile results didn't show any obvious problems, but it
does seem like some of the more expensive scons calls are being called more
often in 0.95.1 than in 0.95.

Hmm, it looks like the explain info isn't saved if the file isn't built. If I do
a build with --save-explain-info=0, then a no-op build without
--save-explain-info and then change a header file and do a build with
--debug=explain, scons says it can't explain why the .obj file is rebuilt
because there is no previous build information saved. I'm not sure if this is a
bug or expected behaviour, but it confused me at first.

Another odd thing about --debug=explain is that the command lines that are
printed aren't the real command lines that are used to build the file. I can
understand that the include path stuff isn't there, because it isn't used for
signature calculation, but the source and target parts are there but they aren't
the same as the real command line. For example:

scons: rebuilding `build.net\debug\n​i\dsc\AbsTime.obj'​ because the build action
changed:
                old: cl /nologo /c /GB /GF /GX /GR /W3 /FI ni/dsc/basics.h /Od /M
Dd /Z7 /DRELEASE=0 /c AbsTime.cpp_abspath /FoAbsTime.obj /Z7
                new: cl /nologo /c /GB /GF /GX /GR /W3 /Ze /FI ni/dsc/basics.h /O
d /MDd /Z7 /DRELEASE=0 /c AbsTime.cpp_abspath /FoAbsTime.obj /Z7

* Building C:\penguin\iak\sh​ared\trunk\build.n​et\debug\ni\dsc\​AbsTime.obj:
cl /nologo /c /GB /GF /GX /GR /W3 /Ze /FI ni/dsc/basics.h /Od /MDd /Z7 /DRELEASE
=0 /TP /IC:\penguin\iak\shared\trunk /IC:\penguin\iak\​shared\trunk\depen​ds\NI-PA
L\Includes "/IC:\Program Files\National Instruments\LabVIEW 7.1\cintools" /IC:\p
enguin\iak\shared​trunk\depends\icu​\win32\include /c C:\penguin\iak\shared\trunk
\ni\dsc\AbsTime.cpp /Fobuild.net\debug​ni\dsc\AbsTime.ob​j /Z7
AbsTime.cpp

The problem with the above is that the paths to the source and target aren't
there, and the .abspath modified on the source file isn't expanded and is
instead replaced by _abspath. Maybe this isn't a bug either, but it surprised me.

Besides the above "problems" the --debug=explain stuff works great. I especially
like the way it prints out the old and new command lines if it was the command
line that changed. Is there any performance hit for having it always turned on?
It doesn't seem to run any slower with it on, but I didn't actually time it. I'd
like to add command line diffing to --debug=explain using the Python diff
module... that'd be pretty sweet.

I'll test 0.95.1 on some of my larger builds later today and let you know how it
goes.
Attachments

« Previous message in topic | 3 of 14 | Next message in topic »

Messages

Show all messages in topic

[scons-dev] call for pre-testing next release: 0.95.1 available stevenknight Steven Knight 2004-06-16 20:41:46 PDT
     Re: [scons-dev] call for pre-testing next release: 0.95.1 available timot Timothee Besset 2004-06-17 01:22:50 PDT
     Re: [scons-dev] call for pre-testing next release: 0.95.1 available Anthony Roach <aroach at electriceyeball dot com> Anthony Roach <aroach at electriceyeball dot com> 2004-06-17 07:11:05 PDT
         Re: [scons-dev] call for pre-testing next release: 0.95.1 available Charles Crain <chux at houston dot rr dot com> Charles Crain <chux at houston dot rr dot com> 2004-06-17 12:07:21 PDT
             Re: [scons-dev] call for pre-testing next release: 0.95.1 available Chad Austin <aegisk at vrac dot iastate dot edu> Chad Austin <aegisk at vrac dot iastate dot edu> 2004-06-20 18:49:31 PDT
                 Re: [scons-dev] call for pre-testing next release: 0.95.1 available broonie Mark Brown 2004-06-21 04:40:19 PDT
     Re: [scons-dev] call for pre-testing next release: 0.95.1 available Anthony Roach <aroach at electriceyeball dot com> Anthony Roach <aroach at electriceyeball dot com> 2004-06-17 13:55:44 PDT
         Re: [scons-dev] call for pre-testing next release: 0.95.1 available Charles Crain <chux at houston dot rr dot com> Charles Crain <chux at houston dot rr dot com> 2004-06-17 14:50:06 PDT
     Re: [scons-dev] call for pre-testing next release: 0.95.1 available Chad Austin <aegisk at vrac dot iastate dot edu> Chad Austin <aegisk at vrac dot iastate dot edu> 2004-06-18 23:41:04 PDT
     Re: [scons-dev] call for pre-testing next release: 0.95.1 available Anthony Roach <aroach at electriceyeball dot com> Anthony Roach <aroach at electriceyeball dot com> 2004-06-22 09:13:42 PDT
         Re: [scons-dev] call for pre-testing next release: 0.95.1 available stevenknight Steven Knight 2004-06-22 20:03:02 PDT
             Re: [scons-dev] call for pre-testing next release: 0.95.1 available Anthony Roach <aroach at electriceyeball dot com> Anthony Roach <aroach at electriceyeball dot com> 2004-06-23 09:52:58 PDT
     Re: [scons-dev] call for pre-testing next release: 0.95.1 available "Erling D dot Andersen" <e dot d dot andersen at mosek dot com> "Erling D dot Andersen" <e dot d dot andersen at mosek dot com> 2004-07-06 03:34:13 PDT
     Re: [scons-dev] call for pre-testing next release: 0.95.1 available Werner Schiendl <ws-news at gmx dot at> Werner Schiendl <ws-news at gmx dot at> 2004-07-13 09:51:03 PDT
Messages per page: