Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3390)

Unified Diff: buildbot/buildbot_pnacl1.sh

Issue 6883048: Activate buildbot, lucid64-pnacl2, for pnacl. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | buildbot/buildbot_selector.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: buildbot/buildbot_pnacl1.sh
===================================================================
--- buildbot/buildbot_pnacl1.sh (revision 4926)
+++ buildbot/buildbot_pnacl1.sh (working copy)
@@ -7,27 +7,28 @@
set -o nounset
set -o errexit
-
-# This is the first thing you want to run on the bots to install the toolchains
-toolchain-setup() {
- echo @@@BUILD_STEP clobber@@@
+clobber() {
+ 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@@@
+# This is the first thing you want to run on the bots to install the toolchains
+install-lkgr-toolchains() {
+ echo "@@@BUILD_STEP gclient_runhooks@@@"
gclient runhooks --force
}
# We usually do not trust the TC to provide the latest (extra) SDK
# so we rebuild them here
partial-sdk() {
- echo @@@BUILD_STEP partial_sdk@@@
+ echo "@@@BUILD_STEP partial_sdk@@@"
UTMAN_BUILDBOT=true tools/llvm/utman.sh extrasdk-make-install
}
# These tars up the executable to be shipped to the arm HW bots
archive-for-hw-bots() {
- echo @@@BUILD_STEP archive_build@@@
+ echo "@@@BUILD_STEP archive_build@@@"
tar cvfz arm.tgz scons-out/
# TODO(bradnelson): explain this mechanism
if [[ $BUILDBOT_BUILDERNAME == nacl-* ]]; then
@@ -70,7 +71,7 @@
ad-hoc-shared-lib-tests() {
# TODO(robertm): make this accessible by the utman script so that this get
# http://code.google.com/p/nativeclient/issues/detail?id=1647
- echo @@@BUILD_STEP fake_shared_libs@@@
+ echo "@@@BUILD_STEP fake_shared_libs@@@"
pushd tests/pnacl_ld_example/
make -f Makefile.pnacl clean
make -f Makefile.pnacl preparation
@@ -110,26 +111,40 @@
######################################################################
mode-trybot() {
- toolchain-setup
+ clobber
+ install-lkgr-toolchains
partial-sdk
scons-tests "arm x86-32 x86-64" "--mode=opt-host,nacl" "smoke_tests"
ad-hoc-shared-lib-tests
}
-mode-buildbot() {
- toolchain-setup
+mode-buildbot-x8632() {
+ clobber
+ install-lkgr-toolchains
partial-sdk
# First build everything
- scons-tests "arm x86-32 x86-64" "--mode=opt-host,nacl" ""
+ scons-tests "x86-32" "--mode=opt-host,nacl" ""
# Then test (not all nexes which are build are also tested)
- scons-tests "arm x86-32 x86-64" "--mode=opt-host,nacl" "smoke_tests"
+ scons-tests "x86-32" "--mode=opt-host,nacl" "smoke_tests"
ad-hoc-shared-lib-tests
}
+mode-buildbot-x8664() {
+ clobber
+ install-lkgr-toolchains
+ partial-sdk
+ # First build everything
+ scons-tests "x86-64" "--mode=opt-host,nacl" ""
+ # Then test (not all nexes which are build are also tested)
+ scons-tests "x86-64" "--mode=opt-host,nacl" "smoke_tests"
+ ad-hoc-shared-lib-tests
+}
+
# NOTE: not tested yet, for reference only to illustrate future plans
# TOOD(robertm): see whether it really makes sense to merge dbg/opt
mode-buildbot-arm() {
- toolchain-setup
+ clobber
+ install-lkgr-toolchains
partial-sdk
# gyp tests for both opt and dbg
gyp-arm-build opt
« no previous file with comments | « no previous file | buildbot/buildbot_selector.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698