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

Unified Diff: pnacl/scripts/common-tools.sh

Issue 8391032: Part 2 of 3: Moving tools/llvm to pnacl/ (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 2 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 | « pnacl/build-glibc.sh ('k') | pnacl/scripts/merge-tool.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pnacl/scripts/common-tools.sh
===================================================================
--- pnacl/scripts/common-tools.sh (revision 0)
+++ pnacl/scripts/common-tools.sh (working copy)
@@ -7,17 +7,17 @@
set -o errexit
# Turn on/off debugging mode
-readonly UTMAN_DEBUG=${UTMAN_DEBUG:-false}
+readonly PNACL_DEBUG=${PNACL_DEBUG:-false}
# True if the scripts are running on the build bots.
-readonly UTMAN_BUILDBOT=${UTMAN_BUILDBOT:-false}
+readonly PNACL_BUILDBOT=${PNACL_BUILDBOT:-false}
# Dump all build output to stdout
-readonly UTMAN_VERBOSE=${UTMAN_VERBOSE:-false}
+readonly PNACL_VERBOSE=${PNACL_VERBOSE:-false}
# Mercurial Retry settings
HG_MAX_RETRIES=${HG_MAX_RETRIES:-3}
-if ${UTMAN_BUILDBOT} ; then
+if ${PNACL_BUILDBOT} ; then
HG_RETRY_DELAY_SEC=${HG_RETRY_DELAY_SEC:-60}
else
HG_RETRY_DELAY_SEC=${HG_RETRY_DELAY_SEC:-1}
@@ -38,9 +38,9 @@
# Detect if we are in a ChromiumOS chroot
######################################################################
if [ -e /etc/debian_chroot ]; then
- readonly UTMAN_IN_CROS_CHROOT=true
+ readonly PNACL_IN_CROS_CHROOT=true
else
- readonly UTMAN_IN_CROS_CHROOT=false
+ readonly PNACL_IN_CROS_CHROOT=false
fi
######################################################################
@@ -515,7 +515,7 @@
shift 1
local ret=1
- if ${UTMAN_VERBOSE}; then
+ if ${PNACL_VERBOSE}; then
echo "RUNNING: " "$@" | tee -a "${log}" "${TC_LOG_ALL}"
"$@" 2>&1 | tee -a "${log}" "${TC_LOG_ALL}"
ret=${PIPESTATUS[0]}
@@ -534,7 +534,7 @@
echo
echo "PWD: $(pwd)"
echo
- if ${UTMAN_BUILDBOT}; then
+ if ${PNACL_BUILDBOT}; then
echo "BEGIN LOGFILE Contents."
cat "${log}"
echo "END LOGFILE Contents."
@@ -745,7 +745,7 @@
# TODO(pdox): Right now, this abstraction is only used for
# paralellizing translations in the self-build. If we're going
# to use this for anything more complex, then throttling the
-# number of active processes to exactly UTMAN_CONCURRENCY would
+# number of active processes to exactly PNACL_CONCURRENCY would
# be a useful feature.
CT_WAIT_QUEUE=""
QueueLastProcess() {
@@ -757,7 +757,7 @@
}
QueueConcurrent() {
- [ ${UTMAN_CONCURRENCY} -gt 1 ]
+ [ ${PNACL_CONCURRENCY} -gt 1 ]
}
QueueWait() {
« no previous file with comments | « pnacl/build-glibc.sh ('k') | pnacl/scripts/merge-tool.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698