Those files are Ruby language (www.ruby-lang.org) scripts used to
print the configuration in an intermediate format that eventually gets
sucked up by gems-Ruby.  Scons doesn't pick them up because they don't
need to be compiled.  Like python scripts, they are run through an
interpreter.  If you modify them, the changes should be reflected at
runtime without having to recompile.

> [Are rubyconfig.defaults and tester.defaults being used at all?]

No. They should be deleted soon.

-Derek

On Tue, Jul 21, 2009 at 7:48 PM, Krishna, Tushar<[email protected]> wrote:
> Hi,
>
>
>
> I am trying to use Garnet + Ruby in GEM5.
>
> I  observed that the Ruby configurations are being set by the following
> files:
>
> m5/src/mem/ruby/config/MI_example-homogeneous.rb
>
> m5/src/mem/ruby/config/defaults.rb
>
> m5/src/mem/ruby/config/cfg.rb
>
>
>
> However, these files are not in the scons control, i.e. any modification to
> them is not reflected in a new build, unless I delete the old build and do a
> new build (which takes a long time).
>
>
>
> I tried adding them to the scons control by adding
> Source(‘MI_example-homogeneous.rb’) in the SConscript script in the config
> directory. However now scons complains that it cannot create .do files from
> .rb files.
>
> Does that mean we cannot add these ruby (language) files into scons? What is
> the solution then?
>
>
>
> Or am I making the configuration changes in the wrong files?
>
> [Are rubyconfig.defaults and tester.defaults being used at all?]
>
>
>
> Thanks!
>
> Tushar
>
>
>
> _______________________________________________
> 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