Quoting nathan binkert <[email protected]>:
Feel free to propose some more verbose names, but the whole idea is
to remove the verbosity. Almost everything but [CC] and [SW] else
gets executed once per build. If there is an error it's going to be
pretty obvious where it came from, especially with GN where it's
just a simple replacement of Generating: with [GN]. Honestly, how
many people do you think will be messing with the parser? It's less
than 5. We've run out of ISAs at this point. The only ISAs that
come to mind at the moment are PARISC and IA64. One is dead and the
other might as well be.
A few things come to mind.
1) I think slightly more verbose names are OK and probably good.
We've cut down significantly on the verbosity already, so we can add
some back.
2) One thing that needs to be thought about is SOURCE vs TARGET. It
seems that we should always use one or the other, no? My guess is
that we should always use $TARGET. (Should we use both?)
3) If we choose $SOURCE, should it be from the actual source directory
(i.e. not the BUILDDIR copy), or not?
4) I think we should strip BUILDDIR from the output (which for many
people is just build/, but for me is much longer). Stripping build/
adds room for #2. I sent Ali code for this. (And I just realized
that there is better code so talk to me)
Nate
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev
Here are my renaming suggestions. The first alternative is if we
restrict tags to 7 characters which seems to be what Linux was doing
judging by the spacing in the commands from the Makefile. The second
alternative is if we go with arbitrarily long but reasonable tags. The
"right" answer might be somewhere between the two alternatives. If
what I've got here sucks and you have a better idea, please suggest it.
C -> CC -> CC
CC -> CXX -> CXX
AS -> AS -> AS
SW -> SWIG -> SWIG
AR -> AR -> AR
LN -> LD -> LD
RN -> RANLIB -> RANLIB
M4 -> M4 -> M4
GN -> HEADER -> SWITCH_HDR
IA -> THE_ISA -> THE_ISA
DF -> DEFINES -> DEFINES_PY
IF -> INFO_PY -> INFO_PY
SM -> C_PARAM -> SIMOBJ_PARAM
SG -> S_PARAM -> SWIG_PARAM
ES -> C_ENUM -> ENUM_STRS
EW -> S_ENUM -> ENUM_PARAM
PM -> B_PARAM -> PARAM <<<<< How specifically is this different from SG?
SW -> SWIG -> SWIG
TF -> TRACE -> TRACE_FLAGS
EP -> P_EMBED -> EMBED_PY
Gabe
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev