Mercurial > pygar
changeset 40:7ac38b0f93fa pygar svn.41
[svn r41] made perl build script automatically generate program.vmh
author | rlm |
---|---|
date | Tue, 04 May 2010 19:53:09 -0400 |
parents | 5a30f173bbac |
children | 16ba43f0a7c3 |
files | config/bm/Pygar/processor_test/audio_core_benchmark.cfx scripts/setup-mit-6.375-bmark-audio-core |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
1.1 --- a/config/bm/Pygar/processor_test/audio_core_benchmark.cfx Tue May 04 19:32:25 2010 -0400 1.2 +++ b/config/bm/Pygar/processor_test/audio_core_benchmark.cfx Tue May 04 19:53:09 2010 -0400 1.3 @@ -30,7 +30,7 @@ 1.4 foreach my $test (@tests) { 1.5 $gcfg->add(name => $test, 1.6 tree => [ "tests" ], 1.7 - setup => "scripts/setup-mit-6.375-bmark-audio-core --group instruction-tests --isa smips $test --compare=1 --data=../benchmarks/audio_processor_test/rlp.wav --linkto=../tools/audio_processor_test/null/checker", 1.8 + setup => "scripts/setup-mit-6.375-bmark-audio-core --group instruction-tests --isa smips $test --data=../benchmarks/audio_processor_test/rlp.wav --linkto=../tools/audio_processor_test/null/checker", 1.9 feeder => "vcs", 1.10 feedflags => "program.0/${test}.smips.vmh", 1.11 ccount => 800000,
2.1 --- a/scripts/setup-mit-6.375-bmark-audio-core Tue May 04 19:32:25 2010 -0400 2.2 +++ b/scripts/setup-mit-6.375-bmark-audio-core Tue May 04 19:53:09 2010 -0400 2.3 @@ -104,8 +104,12 @@ 2.4 my $dst_prog = basename($src_prog); 2.5 2.6 unlink($dst_prog); 2.7 + 2.8 + print "\n\nRLM: putting $src_prog in $dst_prog, and also program.vmh\n"; 2.9 + 2.10 symlink($src_prog, $dst_prog) or ErrorExit("Failed to symlink $dst_prog => $src_prog"); 2.11 - 2.12 + symlink($src_prog, "program.vmh") or ErrorExit("Failed to symlink $dst_prog => $src_prog"); 2.13 + 2.14 # Copy input data files 2.15 if (defined($data)) { 2.16 # No trailing slash. Just link to a single object 2.17 @@ -176,6 +180,7 @@ 2.18 } 2.19 if (defined($compare)) { 2.20 print ENV "compare=\"${compare}\"\n"; 2.21 + #print ENV "compare=\"ls\"\n"; 2.22 } 2.23 close(ENV); 2.24