[Scons-users] Repeated builds even with duplicate=0
Bill Deegan
bill at baddogconsulting.com
Thu Feb 23 12:48:51 EST 2017
So the order of the list of sources changed and that's causing a rebuid?
And/or is the file being copied there even though duplicate=0?
Was it there and then you changed the build to have duplicate=0?
Did you try:
rm -rf build
scons
scons --debug=explain --tree=prune (incremental build with not changes?)
-Bill
On Thu, Feb 23, 2017 at 2:36 AM, Dynastic Space <dynasticspace at gmail.com>
wrote:
> My scons version is v2.5.1.rel_2.5.1.
> I have a fairly complex project, consisting quite a lot of libraries and
> executables.
> Every source code is always compiled by default, even though AlwaysBuild
> is specified for one or two libraries.
> I set duplicate=0 for every SConscript invocation.
> I do have variant_dir='build'.
> After enabling some messages in /usr/lib/scons/SCons/Node/__init__.py::explain
> I get the following:
>
> scons: rebuilding `build/debug/dir1/dir2/dir3/file.o' because:
> `dir1/dir2/dir3/file.cpp' is no longer a dependency
> `dir1/dir2/dir3/file.cpp' is a new dependency
> `build/debug/dir101/lib1.a' changed <---- this is the library
> that always gets built
> the dependency order changed:
> old: /fullpath/dir1/dir2/dir3/file.cpp
> new: /fullpath/build/debug/dir1/dir2/dir3/file.cpp
>
> I've been working on this for 2 days now, so any assistance will be much
> appreciated.
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20170223/d770fdda/attachment.html>
More information about the Scons-users
mailing list