diff scripts/setup-mit-6.375-bmark-audio-core @ 47:97d1959f7c5c pygar svn.48

[svn r48] changed sctipt to use our own programs, changed rlp.wav and rlp1.wav to be shorter
author rlm
date Wed, 05 May 2010 13:23:58 -0400
parents 7ac38b0f93fa
children
line wrap: on
line diff
     1.1 --- a/scripts/setup-mit-6.375-bmark-audio-core	Wed May 05 12:43:51 2010 -0400
     1.2 +++ b/scripts/setup-mit-6.375-bmark-audio-core	Wed May 05 13:23:58 2010 -0400
     1.3 @@ -70,6 +70,9 @@
     1.4  print "DST: $dstdir\n";
     1.5  print "BASE: $basedir\n";
     1.6   
     1.7 +$pygarRoot = "$srcdir/..";
     1.8 +
     1.9 +
    1.10  if (! defined($group)) {
    1.11      $group = $bmark;
    1.12  }
    1.13 @@ -87,15 +90,25 @@
    1.14          mkdir("program.${context}") or ErrorExit("Failed to make program directory");
    1.15          chdir("program.${context}") or ErrorExit("Failed to cd to program directory");
    1.16  
    1.17 +	#print "***********************\n\n$benchmark_root --- ${benchmark_root}\n\n******************************\n";
    1.18 +
    1.19          if (defined($binary)) {
    1.20              $src_prog = "${benchmark_root}/hasim/${isa}/${group}/${binary}";
    1.21          }
    1.22 +
    1.23 +	elsif (-f "$pygarRoot/benchProgs/${bmark}.${isa}.vmh"){
    1.24 +	    print"\n*******************\n rlm:using speciel Pygar program\n**************************\n";
    1.25 +	    $src_prog = "$pygarRoot/benchProgs/${bmark}.${isa}.vmh";}
    1.26 +
    1.27          elsif (-f "${benchmark_root}/hasim/${isa}/${group}/${bmark}.${isa}.bin") {
    1.28              $src_prog = "${benchmark_root}/hasim/${isa}/${group}/${bmark}.${isa}.bin";
    1.29          }
    1.30          elsif (-f "${benchmark_root}/hasim/${isa}/${group}/${bmark}.${isa}.vmh") {
    1.31              $src_prog = "${benchmark_root}/hasim/${isa}/${group}/${bmark}.${isa}.vmh";
    1.32          }
    1.33 +
    1.34 +       
    1.35 +	
    1.36          else {
    1.37              print STDERR "Can't find binary in ${benchmark_root}/hasim/${isa}/${group}\n";
    1.38              exit(1);