summaryrefslogtreecommitdiffstats
path: root/pts/benchmark-resources/super-pi/install.sh
blob: f49eb46f10b0a35c9ca8c2bd1474cdd68746c7bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

cd $1

if [ ! -f super_pi.tar.gz ]
  then
     wget http://www.phoronix-test-suite.com/benchmark-files/super_pi.tar.gz
fi

tar -xvf super_pi.tar.gz

# make wrapper shell script for total line
echo "#!/bin/sh
./super_pi \$@ | grep Total" > superpi
chmod +x superpi