arch: support dynamic ISA file generation in SConscripts
Review Request #2248 - Created April 23, 2014 and discarded
| Information | |
|---|---|
| Andreas Hansson | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Changeset 10200:0e0cf51add93 --------------------------- arch: support dynamic ISA file generation in SConscripts
Posted (May 4, 2014, 11:14 p.m.)
Are all these changes really related to the ISA split? Some look like independent bug fixes/enhancements. Those should be separate changesets, and that parts that are truly interdependent with the ISA split code (if there are any) should be integrated with the other ISA split patch.
-
src/SConscript (Diff revision 1) -
is this change related to the dynamic/multiple ISA file change? it looks like an independent bug fix
-
tests/SConscript (Diff revision 1) -
are the changes in this file related to the ISA changes? they don't appear to be
Posted (May 5, 2014, 8:44 a.m.)
-
src/SConscript (Diff revision 1) -
I suppose this change could be applied independent of the ISA splitting work, but it wouldn't "fix" anything in that case. (It'd be pointless/change for change's sake) With dynamic source files as a result of ISA splitting, makeEnv() gets called during the build instead of before it. This makes dealing with pathnames more challenging since chdir()'s are happening asynchronously in parallel with what makeEnv() might be doing. This little bit of code helps to work around that issue.
-
tests/SConscript (Diff revision 1) -
Like the other bit of code you commented on, this makes the code deal with absolute paths rather than relative paths. It's not necessary in isolation.
It was my intention for all of this to be all "required" for ISA splitting; these changes just address one aspect of the solution. If one single changeset is desired, this should be folded into the other ISA splitting changes.
