summaryrefslogtreecommitdiffstats
path: root/pts/benchmark-resources/scimark2/install.sh
blob: 660f4b8049c9d646611e041234dfe02436467be6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

cd $1

if [ ! -f scimark2_1c.zip ]
 
	then
     wget http://math.nist.gov/scimark2/scimark2_1c.zip -O scimark2_1c.zip
fi

unzip -o scimark2_1c.zip -d scimark2_files
cd scimark2_files/
g++ -o scimark2 -O *.c
cd ..

echo "#!/bin/sh
cd scimark2_files/

./scimark2 -large" > scimark2
chmod +x scimark2