nightly.sh 1.14 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
"x86_64-linux-gnu")
	SPEC_PY_FLAGS="$SPEC_PY_FLAGS --time-limit=3600"
	SPEC_PY_FLAGS="$SPEC_PY_FLAGS --force-64"
	;;
Matthias Braun's avatar
Matthias Braun committed
17
18
19
20
21
22
23
24
25
26
"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
27
	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
28
29
30
31
32
33
34
	;;
*)
	echo "Architecture not yet supported (or maybe none was specified?)"
	exit 1
	;;
esac

35
. runspec.sh