[Ns-bugs] [Bug 1303] waf always recompiles all the scripts in the scratch directory

code@nsnam.ece.gatech.edu code at nsnam.ece.gatech.edu
Mon Feb 13 11:10:17 PST 2012


https://www.nsnam.org/bugzilla/show_bug.cgi?id=1303

--- Comment #1 from Gustavo J. A. M. Carneiro <gjcarneiro at gmail.com> 2012-02-13 14:10:17 EST ---
(In reply to comment #0)
> Hello,
> 
> I just tried ns-3-dev (November 22, 2011). Just in
> case, I am using Debian 6.0.3, but I think this bug is in
> all platforms. Every time I compile a script in the
> scratch directory, it compiles all the scripts in the
> scratch directory.
> 
> Just do this simple experiment:
>    cd ns-3-dev
>    cp examples/tutorial/first.cc scratch/script1.cc
>    ./waf --run scratch/script1
>    # This compile scratch/script1.cc. It is OK.
> 
>    cp examples/tutorial/first.cc scratch/script2.cc
>    ./waf --run scratch/script2
>    # Now, this compile script1.cc and script2.cc.
>    # It should only compile script2.cc.
> 


I reproduce this problem.  It sounds like a bug in WAF, which I have no time to
fix.

However, if I modify script2 and then try to run it, WAF builds only script2
and none of the other scratch programs.  THis is not so bad.

-- 
Configure bugmail: https://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Ns-bugs mailing list