Thinking about this more, this opens up space in the build help for more higher level, well, build help. We could list all the possible configurations to use, ie. list the files in build_opts. We could list the possible m5 binaries to build and what each is for. We could talk about how regressions are worked in. Is there anything other top level target people would want to use with scons? I think the unit tests are in there, and having written one recently you'd think I'd remember :-P. But those need some packaging TLC before they're really useful for somebody reading help at that level.
Gabe On 03/03/11 02:47, Gabe Black wrote: > This is mostly an idea I'm entertaining. It makes it a lot easier to see > the command line option part of the help which scrolls off the screen > otherwise which is nice, although whether that's a good thing depends on > whether you think the command line stuff or the variable stuff is more > important. This also at least partially makes setting our own special > help message redundant since the default help would include our new > options. This does highlight them, though, because it leaves out all the > regular ones. > > Gabe > > On 03/03/11 02:46, Gabe Black wrote: >> ----------------------------------------------------------- >> This is an automatically generated e-mail. To reply, visit: >> http://reviews.m5sim.org/r/531/ >> ----------------------------------------------------------- >> >> Review request for Default, Ali Saidi, Gabe Black, Steve Reinhardt, and >> Nathan Binkert. >> >> >> Summary >> ------- >> >> SCons: Add an option to dump the build vars, and only do that if asked. >> >> Being able to inspect the current value of the build variables is very >> useful, >> but if someone is looking for more basic information all that text obscures >> the other parts of the help message. This change removes the build variables >> from the main help message and adds a new option, --print-build-vars, that >> prints them out explicitly. >> >> >> Diffs >> ----- >> >> SConstruct cf1afc88070f >> >> Diff: http://reviews.m5sim.org/r/531/diff >> >> >> Testing >> ------- >> >> >> Thanks, >> >> Gabe >> >> _______________________________________________ >> m5-dev mailing list >> m5-dev@m5sim.org >> http://m5sim.org/mailman/listinfo/m5-dev > _______________________________________________ > m5-dev mailing list > m5-dev@m5sim.org > http://m5sim.org/mailman/listinfo/m5-dev _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev