|
Bugzilla – Full Text Bug Listing |
| Summary: | waf recompiles all the scripts in the scratch directory when adding a new one | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Eric Gamess <egamess> |
| Component: | build system | Assignee: | Gustavo J. A. M. Carneiro <gjcarneiro> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | minor | CC: | ns-bugs, tommaso.pecorella |
| Priority: | P5 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Eric Gamess
2011-11-22 09:12:13 UTC
(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. Reducing severity: the problem occurs only when adding new programs to the scratch folder, not when modifying existing ones. So it doesn't sound so big problem... Documented "bugs" are called "features". This is a feature. |