|
OLD | NEW |
---|---|
(Empty) | |
1 #!/bin/bash | |
2 | |
3 # Script assumed to be run in native_client/ | |
4 if [[ $(pwd) != */native_client ]]; then | |
5 echo "ERROR: must be run in native_client!" | |
6 exit 1 | |
7 fi | |
8 | |
9 set -x | |
10 set -e | |
11 set -u | |
12 | |
13 | |
14 SCONS_COMMON="./scons --mode=opt-linux --verbose bitcode=1 -j8 -k" | |
15 SPEC_HARNESS=${SPEC_HARNESS:-/home/chrome-bot/cpu2000-redhat64-ia32} | |
16 # we run only the fast test below on ARM | |
17 FAST_ARM="164.gzip 175.vpr 176.gcc 179.art 181.mcf 186.crafty 197.parser 252.eon 254.gap 255.vortex 256.bzip2 300.twolf" | |
18 SLOW_ARM="177.mesa 183.equake 188.ammp 253.perlbmk" | |
19 | |
20 | |
21 echo @@@BUILD_STEP clobber@@@ | |
22 rm -rf scons-out toolchain compiler hg ../xcodebuild ../sconsbuild ../out \ | |
23 src/third_party/nacl_sdk/arm-newlib | |
24 | |
25 echo @@@BUILD_STEP gclient_runhooks@@@ | |
26 gclient runhooks --force | |
27 | |
28 for platform in arm x86-32 x86-64 ; do | |
29 echo @@@BUILD_STEP scons sel_ldr [${platform}]@@@ | |
30 ${SCONS_COMMON} platform=${platform} sel_ldr sel_universal | |
31 done | |
32 | |
33 cd tests/spec2k/ | |
34 | |
35 for setup in SetupPnaclArmOpt SetupPnaclX8632Opt SetupPnaclX8664Opt ; do | |
jvoung - send to chromium...
2011/03/16 21:36:41
Should we try the SetupPnaclTranslatorX8632Opt w/
robertm
2011/03/16 22:22:29
added on with gcc
On 2011/03/16 21:36:41, jvoung w
| |
36 echo @@@BUILD_STEP spec2k build [${setup}] [train]@@@ | |
37 ./run_all.sh CleanBenchmarks | |
38 ./run_all.sh PopulateFromSpecHarness ${SPEC_HARNESS} | |
jvoung - send to chromium...
2011/03/16 21:36:41
Clean and Populate may only need to be done once,
robertm
2011/03/16 22:22:29
could not get this work - so leaving as is.
On 20
| |
39 ./run_all.sh BuildBenchmarks 0 ${setup} | |
40 | |
41 echo @@@BUILD_STEP spec2k run [${setup}] [train]@@@ | |
42 if [ "${setup}" == "SetupPnaclArmOpt" ] ; then | |
43 ./run_all.sh RunBenchmarks ${setup} train ${FAST_ARM} | |
44 else | |
45 ./run_all.sh RunBenchmarks ${setup} train | |
46 fi | |
47 done | |
48 | |
bradn
2011/03/16 21:26:22
Drop trailing line.
robertm
2011/03/16 22:22:29
Done.
| |
OLD | NEW |