Yeah, that's a better way of doing things since managing duplicates
somewhat defeats the purpose of revision control. Silly me.

nathan binkert wrote:
>> I was wondering if I can somehow specify in an EXTRAS directory
>> SConsopts file that I want scons to build the sim/eventq.cc and
>> sim/eventq.hh files in my EXTRAS directory instead of the ones in the m5
>> source tree without adding a whole bunch of conditional clauses in the
>> SConscript files in the source tree.
>>
>> I'm making changes to the core of m5 but would like to be able to code
>> it all in an EXTRAS directory so that I can keep things nice and clean.
>> I've been coding in the source tree up until now but it's becoming
>> somewhat of a mess.
>>     
>
> We don't currently support this and I'm not sure that we want to.  Why
> is coding within the source tree a problem?  In general, if you're
> changing the core of M5, I'm not sure that you want to take it out of
> the source tree because if we fix something, you might miss the fix.
> I realize that you're making drastic changes to the event queue, but
> in general, I've felt that it was still quite manageable.
>
> Are you using mercurial queues?  If not, I suggest you check them out.
>  They're a very good way of managing a set of changes to a parent
> tree.  Alternatively, you can just treat your tree as a branch and
> periodically merge (and rebase if you like).
>
>   Nate
> _______________________________________________
> m5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/m5-dev
>   
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to