Files
mercury/benchmarks/progs/stackopt_tests
Paul Bone ea06fd8cde Add the benchmarks directory into the main Mercury repository.
This was a seperate repository in CVS and so it missed the conversion.

benchmarks/
    As above.
2013-01-04 12:13:53 +11:00

29 lines
558 B
Bash
Executable File

#!/bin/sh
PATH="/home/ender/public/mercury-latest/i686-pc-linux-gnu/bin:$PATH"
export PATH
set -x
for dir in compress icfp2000 icfp2001 nuc ray tree234
do
for optlevel in O2 O5
do
while read enable onr anr
do
cd $dir
echo "GRADE = asm_fast.gc" > Mmakefile.grade
echo "OPTLEVEL = $optlevel" > Mmakefile.optlevel
echo "ENABLE = $enable" > Mmakefile.flags
echo "ONR = $onr" >> Mmakefile.flags
echo "ANR = $anr" >> Mmakefile.flags
mmake realclean
mmake depend
mmake
mmake times
cd ..
done < FLAGS.stackopt
done
done