mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-17 06:47:17 +00:00
This was a seperate repository in CVS and so it missed the conversion.
benchmarks/
As above.
29 lines
558 B
Bash
Executable File
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
|