I'm fine with how things are now, but if we do change things up, I would prefer 
removing the RUBY flag and no longer making the MI_example protocol the 
default.  Instead, if a protocol is specified, scons builds Ruby, otherwise 
scons does not build Ruby.  In my opinion, the protocol is fundamental to Ruby 
and I'm not sure how we could use other aspects of it without compiling in a 
protocol (ex. NetworkTest).

Brad


> -----Original Message-----
> From: gem5-dev-boun...@gem5.org [mailto:gem5-dev-boun...@gem5.org] On
> Behalf Of Nilay Vaish
> Sent: Sunday, July 10, 2011 9:20 AM
> To: gem5 Developer List
> Subject: Re: [gem5-dev] se.py
> 
> On Sat, 9 Jul 2011, nathan binkert wrote:
> 
> >> It might appear as if coherence protocols are the only thing that is
> there
> >> to ruby. If some time down the line, protocols were to become
> optional
> >> meaning you could use some part of ruby with out using the coherence
> >> protocols themselves, would you still want to go on with the check
> on the
> >> variable PROTOCOL? The variable PROTOCOL should only be used for
> things
> >> related to protocols themselves. Why would you want to use it to
> enable /
> >> disable options for, say, topology?
> > In the long run, we want to get rid of as many compile time options
> as
> > possible.  If there are useful parts of ruby that are not part of a
> > protocol, then we should always just compile them in.
> 
> 
> Though I was thinking about se.py all the time, from Gabe's and Nate's
> response, it seems that my comment was interpreted for setting
> compilation
> options. I would say even for compilation, I prefer using RUBY rather
> than
> PROTOCOL. It might be so because that's what I have been doing all the
> time. I almost never use PROTOCOL.
> 
> I am fine with elimination of RUBY as a compile time option. But I
> still
> prefer retaining RUBY as a variable and using it to check whether or
> not
> to build certain components, like we do right now. This variable would
> be
> set depending on whether PROTOCOL is supplied at compile time or not.
> As
> Nate suggested in a previous email, --ruby is provided as an option
> only
> if PROTOCOL was present in the build env.
> 
> --
> Nilay
> _______________________________________________
> gem5-dev mailing list
> gem5-dev@gem5.org
> http://m5sim.org/mailman/listinfo/gem5-dev


_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to