[Xorp-users] BUG: 1.7 build system does not have dependencies against SConscript files
J.T. Conklin
jtc at acorntoolworks.com
Sat Sep 26 15:59:43 PDT 2009
"XORP at sipxx.com" <karl at sipxx.com> writes:
> The new build system does not implement any dependency checking on
> SConscript files.
>
> For example, when applying a patch to SConscript files for fixing the
> library path problem addressed in another thread, the system should
> detect that SConscript files have changed and should relink the
> executables, or whatever is necessary to build a subsystem correctly.
> Ideally this should only do the absolutely minimum work, like just
> relinking the executables, but may involve recompilations, since some
> compiler flags may have been changed.
This is supposed to "just work". Scons builds a dependency graph from
the declarations in the SConscript files, and then checks to see if
each node in the DAG is up to date. If a new file or library is added,
the DAG will be out of date, and the executable should be rebuilt.
If this is not happening, a fully worked example needs to be filed as a
bug. Include the version of SCons and Python as well.
--jtc
--
J.T. Conklin
More information about the Xorp-users
mailing list