nightly.sh 1.02 KB
Newer Older
Matthias Braun's avatar
Matthias Braun committed
1
2
#!/bin/bash

3
. setup.sh
Matthias Braun's avatar
Matthias Braun committed
4
5
6
7
8
9
10

SOURCE="firm@i44sun3:/data1/firm/specinst"

SPEC_PY_FLAGS="--c-compiler=${CPARSER} --no-cpp --no-fortran --iterations=1"
# Start spec differently on each architecture
case "$TARGET_TRIPLE" in
"i686-linux-gnu")
11
	SPEC_PY_FLAGS="$SPEC_PY_FLAGS --time-limit=3600"
Matthias Braun's avatar
Matthias Braun committed
12
13
14
15
16
17
18
19
20
21
22
	;;
"sparc-leon-linux-gnu")
	SPEC_PY_FLAGS="$SPEC_PY_FLAGS --time-limit=5400"
	SPEC_PY_FLAGS="$SPEC_PY_FLAGS --no-floating-point"
	SPEC_PY_FLAGS="$SPEC_PY_FLAGS --target-architecture=sparc"
	SPEC_PY_FLAGS="$SPEC_PY_FLAGS --c-compiler-args=-mtarget=sparc-leon-linux-gnu"
	SPEC_PY_FLAGS="$SPEC_PY_FLAGS --c-compiler-args=-msoft-float"
	SPEC_PY_FLAGS="$SPEC_PY_FLAGS --c-compiler-args=-static"
	SPEC_PY_FLAGS="$SPEC_PY_FLAGS --submit=qemu-sparc"
	SPEC_PY_FLAGS="$SPEC_PY_FLAGS --submit=-r"
	SPEC_PY_FLAGS="$SPEC_PY_FLAGS --submit=2.6.40"
Matthias Braun's avatar
Matthias Braun committed
23
	SPEC_PY_FLAGS="$SPEC_PY_FLAGS 164.gzip 176.gcc 181.mcf 186.crafty 197.parser 253.perlbmk 254.gap 255.vortex 256.bzip2"
Matthias Braun's avatar
Matthias Braun committed
24
25
26
27
28
29
30
	;;
*)
	echo "Architecture not yet supported (or maybe none was specified?)"
	exit 1
	;;
esac

31
. runspec.sh