In that case, it could be because scons caches the intermediate file. See GEM5/tests/m5out/ruby.config. I don't know much about what the regression tester does, though, so perhaps someone else can comment on this?
-Derek On Wed, Jul 22, 2009 at 2:45 PM, Krishna, Tushar<[email protected]> wrote: > Thanks Derek. > > However, I notice that if I *only* change one of the .rb config files, a new > run of the regression *does not* seem to re-interpret the config file, and > generates results based on the old config (which was built). > If, on the other hand, I also change some other .c file in the gems-ruby > directory structure, the regression run re-interprets the config file (while > doing an updated build) and runs with the new config. > > Just to let you know. > > Thanks > Tushar > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of > Derek Hower > Sent: Tuesday, July 21, 2009 6:59 PM > To: M5 Developer List > Subject: [m5-dev] Fwd: some Ruby files not in scons control > > 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 > > > _______________________________________________ > 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
