Bug 1253298 - Enable TC Linux64 PGO builds as Tier 2. r=gbrown
This commit is contained in:
@@ -13,6 +13,7 @@ echo "running as" $(id)
|
||||
: MOZHARNESS_SCRIPT ${MOZHARNESS_SCRIPT}
|
||||
: MOZHARNESS_CONFIG ${MOZHARNESS_CONFIG}
|
||||
: MOZHARNESS_ACTIONS ${MOZHARNESS_ACTIONS}
|
||||
: MOZHARNESS_OPTIONS ${MOZHARNESS_OPTIONS}
|
||||
|
||||
: TOOLTOOL_CACHE ${TOOLTOOL_CACHE:=/home/worker/tooltool-cache}
|
||||
|
||||
@@ -115,11 +116,21 @@ if [ -n "$MOZHARNESS_ACTIONS" ]; then
|
||||
done
|
||||
fi
|
||||
|
||||
# if MOZHARNESS_OPTIONS is given, append them to mozharness command line run
|
||||
# e.g. enable-pgo
|
||||
if [ -n "$MOZHARNESS_OPTIONS" ]; then
|
||||
options=""
|
||||
for option in $MOZHARNESS_OPTIONS; do
|
||||
options="$options --$option"
|
||||
done
|
||||
fi
|
||||
|
||||
python2.7 $WORKSPACE/build/src/testing/${MOZHARNESS_SCRIPT} ${config_cmds} \
|
||||
$debug_flag \
|
||||
$custom_build_variant_cfg_flag \
|
||||
--disable-mock \
|
||||
$actions \
|
||||
$options \
|
||||
--log-level=debug \
|
||||
--scm-level=$MOZ_SCM_LEVEL \
|
||||
--work-dir=$WORKSPACE/build \
|
||||
|
||||
@@ -98,6 +98,7 @@ flags:
|
||||
- linux64
|
||||
- linux64-st-an
|
||||
- linux64-artifact
|
||||
- linux64-pgo
|
||||
- macosx64
|
||||
- macosx64-st-an
|
||||
|
||||
|
||||
@@ -81,6 +81,12 @@ builds:
|
||||
types:
|
||||
debug:
|
||||
task: tasks/builds/haz_shell_linux.yml
|
||||
linux64-pgo:
|
||||
platforms:
|
||||
- Linux64 PGO
|
||||
types:
|
||||
opt:
|
||||
task: tasks/builds/opt_linux64_pgo.yml
|
||||
macosx64:
|
||||
platforms:
|
||||
- MacOSX64
|
||||
|
||||
@@ -51,6 +51,12 @@ builds:
|
||||
types:
|
||||
opt:
|
||||
task: tasks/builds/opt_linux64_st-an.yml
|
||||
linux64-pgo:
|
||||
platforms:
|
||||
- Linux64 PGO
|
||||
types:
|
||||
opt:
|
||||
task: tasks/builds/opt_linux64_pgo.yml
|
||||
macosx64:
|
||||
platforms:
|
||||
- MacOSX64
|
||||
|
||||
32
testing/taskcluster/tasks/builds/opt_linux64_pgo.yml
Normal file
32
testing/taskcluster/tasks/builds/opt_linux64_pgo.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
$inherits:
|
||||
from: 'tasks/builds/base_linux64.yml'
|
||||
variables:
|
||||
build_name: 'linux64-pgo'
|
||||
build_type: 'opt'
|
||||
task:
|
||||
metadata:
|
||||
name: '[TC] Linux64 PGO Opt'
|
||||
description: 'Linux64 PGO Opt'
|
||||
|
||||
routes:
|
||||
- 'index.buildbot.branches.{{project}}.linux64-pgo'
|
||||
- 'index.buildbot.revisions.{{head_rev}}.{{project}}.linux64-pgo'
|
||||
|
||||
workerType: opt-linux64
|
||||
|
||||
payload:
|
||||
env:
|
||||
# add various options to mozharness command line run
|
||||
MOZHARNESS_OPTIONS: 'enable-pgo'
|
||||
|
||||
extra:
|
||||
treeherder:
|
||||
groupSymbol: tc
|
||||
groupName: Submitted by taskcluster
|
||||
machine:
|
||||
# see https://github.com/mozilla/treeherder/blob/master/ui/js/values.js
|
||||
platform: linux64
|
||||
symbol: B
|
||||
tier: 2
|
||||
collection:
|
||||
pgo: true
|
||||
Reference in New Issue
Block a user