Chromium Code Reviews| Index: buildbot/buildbot_pnacl2.sh |
| =================================================================== |
| --- buildbot/buildbot_pnacl2.sh (revision 0) |
| +++ buildbot/buildbot_pnacl2.sh (revision 0) |
| @@ -0,0 +1,48 @@ |
| +#!/bin/bash |
| + |
| +# Script assumed to be run in native_client/ |
| +if [[ $(pwd) != */native_client ]]; then |
| + echo "ERROR: must be run in native_client!" |
| + exit 1 |
| +fi |
| + |
| +set -x |
| +set -e |
| +set -u |
| + |
| + |
| +SCONS_COMMON="./scons --mode=opt-linux --verbose bitcode=1 -j8 -k" |
| +SPEC_HARNESS=${SPEC_HARNESS:-/home/chrome-bot/cpu2000-redhat64-ia32} |
| +# we run only the fast test below on ARM |
| +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" |
| +SLOW_ARM="177.mesa 183.equake 188.ammp 253.perlbmk" |
| + |
| + |
| +echo @@@BUILD_STEP clobber@@@ |
| +rm -rf scons-out toolchain compiler hg ../xcodebuild ../sconsbuild ../out \ |
| + src/third_party/nacl_sdk/arm-newlib |
| + |
| +echo @@@BUILD_STEP gclient_runhooks@@@ |
| +gclient runhooks --force |
| + |
| +for platform in arm x86-32 x86-64 ; do |
| + echo @@@BUILD_STEP scons sel_ldr [${platform}]@@@ |
| + ${SCONS_COMMON} platform=${platform} sel_ldr sel_universal |
| +done |
| + |
| +cd tests/spec2k/ |
| + |
| +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
|
| + echo @@@BUILD_STEP spec2k build [${setup}] [train]@@@ |
| + ./run_all.sh CleanBenchmarks |
| + ./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
|
| + ./run_all.sh BuildBenchmarks 0 ${setup} |
| + |
| + echo @@@BUILD_STEP spec2k run [${setup}] [train]@@@ |
| + if [ "${setup}" == "SetupPnaclArmOpt" ] ; then |
| + ./run_all.sh RunBenchmarks ${setup} train ${FAST_ARM} |
| + else |
| + ./run_all.sh RunBenchmarks ${setup} train |
| + fi |
| +done |
| + |
|
bradn
2011/03/16 21:26:22
Drop trailing line.
robertm
2011/03/16 22:22:29
Done.
|
| Property changes on: buildbot/buildbot_pnacl2.sh |
| ___________________________________________________________________ |
| Added: svn:executable |
| + * |