|
Bugzilla – Full Text Bug Listing |
| Summary: | The list of modules built is printed at the end of the waf clean command | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | Mitch Watrous <watrous> |
| Component: | build system | Assignee: | Mitch Watrous <watrous> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | gjcarneiro, ns-bugs, tomh |
| Priority: | P5 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: |
Patch for bug 1305
Changes to ns-3--dev/wscript file to prevent printing of list of modules built if build command was "clean". |
||
Created attachment 1279 [details] Patch for bug 1305 It appears that the waf command entered is no longer available to wscript files in the current version of waf. The attached patch makes ./waf shell not print the list of modules built, but ./waf clean still does print those lists. I don't know how to make ./waf clean not print the lists. (In reply to comment #1) > Created attachment 1279 [details] > Patch for bug 1305 > > It appears that the waf command entered is no longer available to wscript files > in the current version of waf. > > The attached patch makes > > ./waf shell > > not print the list of modules built, but > > ./waf clean > > still does print those lists. > > I don't know how to make > > ./waf clean > > not print the lists. I would like to apply this patch now (works for me) and leave open for the ./waf clean part, if there are no objections. Sorry I couldn't help more. I have to deliver my thesis this month, so I'm hard pressed for time. The patch looks very reasonable. Mitch's patch committed as 2d8eeffe5ea7 fixes ./waf shell problem; leaving open for ./waf clean issue Created attachment 1608 [details]
Changes to ns-3--dev/wscript file to prevent printing of list of modules built if build command was "clean".
fixed in 9823:a22cd11590bd |
The following code in ns-3's top level wscript used to work: if ((not Options.options.run) and (not Options.options.pyrun) and ('clean' not in Options.commands) and ('distclean' not in Options.commands) and ('shell' not in Options.commands)): because the Options.commands would contain the commands that were entered ("clean" or "disclean" or "shell"). Now, it is just a blank list when you do ./waf shell The result is that the list of modules built are printed at the end of the waf shell command.