Bug 1335748 - Enable QR builds on macosx64 on m-c and graphics. r=kmoir

MozReview-Commit-ID: BQDcraYBJy3
This commit is contained in:
Kartikaya Gupta 2017-02-06 11:42:54 -05:00
parent f4d5f20a60
commit a3871b75b2
5 changed files with 104 additions and 0 deletions

View File

@ -44,3 +44,53 @@ macosx64/opt:
script: "mozharness/scripts/fx_desktop_build.py"
secrets: true
tooltool-downloads: internal
macosx64-qr/debug:
description: "MacOS X x64 QuantumRender"
index:
product: firefox
job-name: macosx64-qr-debug
treeherder:
platform: osx-10-7-qr/debug
symbol: tc(B)
tier: 2
worker-type: aws-provisioner-v1/gecko-{level}-b-macosx64
worker:
implementation: docker-worker
max-run-time: 36000
run:
using: mozharness
actions: [get-secrets build generate-build-stats update]
config:
- builds/releng_base_mac_64_cross_builds.py
- balrog/production.py
script: "mozharness/scripts/fx_desktop_build.py"
secrets: true
custom-build-variant-cfg: cross-qr-debug
tooltool-downloads: internal
run-on-projects: [ 'graphics' ]
macosx64-qr/opt:
description: "MacOS X x64 QuantumRender"
index:
product: firefox
job-name: macosx64-qr-opt
treeherder:
platform: osx-10-7-qr/opt
symbol: tc(B)
tier: 2
worker-type: aws-provisioner-v1/gecko-{level}-b-macosx64
worker:
implementation: docker-worker
max-run-time: 36000
run:
using: mozharness
actions: [get-secrets build generate-build-stats update]
config:
- builds/releng_base_mac_64_cross_builds.py
- balrog/production.py
script: "mozharness/scripts/fx_desktop_build.py"
secrets: true
custom-build-variant-cfg: cross-qr-opt
tooltool-downloads: internal
run-on-projects: [ 'graphics' ]

View File

@ -57,6 +57,8 @@ JOB_NAME_WHITELIST = set([
'macosx64-clang-tidy',
'macosx64-debug',
'macosx64-opt',
'macosx64-qr-debug',
'macosx64-qr-opt',
'macosx64-st-an-opt',
'nexus-5-l-eng-debug',
'nexus-5-l-eng-opt',

View File

@ -0,0 +1,43 @@
import os
MOZ_OBJDIR = 'obj-firefox'
config = {
'default_actions': [
'clobber',
'clone-tools',
'checkout-sources',
# 'setup-mock',
'build',
'upload-files',
'sendchange',
# 'generate-build-stats',
'update', # decided by query_is_nightly()
],
'stage_platform': 'macosx64-debug',
'debug_build': True,
'objdir': 'obj-firefox',
'enable_talos_sendchange': False,
#### 64 bit build specific #####
'env': {
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
'MOZ_AUTOMATION': '1',
'HG_SHARE_BASE_DIR': '/builds/hg-shared',
'MOZ_OBJDIR': 'obj-firefox',
'TINDERBOX_OUTPUT': '1',
'TOOLTOOL_CACHE': '/builds/tooltool_cache',
'TOOLTOOL_HOME': '/builds',
'MOZ_CRASHREPORTER_NO_REPORT': '1',
'CCACHE_DIR': '/builds/ccache',
'CCACHE_COMPRESS': '1',
'CCACHE_UMASK': '002',
'LC_ALL': 'C',
'XPCOM_DEBUG_BREAK': 'stack-and-abort',
## 64 bit specific
'PATH': '/tools/python/bin:/tools/buildbot/bin:/opt/local/bin:/usr/bin:'
'/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin',
##
},
'src_mozconfig': 'browser/config/mozconfigs/macosx64/debug-qr',
#######################
}

View File

@ -0,0 +1,7 @@
import os
MOZ_OBJDIR = 'obj-firefox'
config = {
'src_mozconfig': 'browser/config/mozconfigs/macosx64/opt-qr',
}

View File

@ -350,6 +350,8 @@ class BuildOptionParser(object):
'cross-debug': 'builds/releng_sub_%s_configs/%s_cross_debug.py',
'cross-opt-st-an': 'builds/releng_sub_%s_configs/%s_cross_opt_st_an.py',
'cross-universal': 'builds/releng_sub_%s_configs/%s_cross_universal.py',
'cross-qr-debug': 'builds/releng_sub_%s_configs/%s_cross_qr_debug.py',
'cross-qr-opt': 'builds/releng_sub_%s_configs/%s_cross_qr_opt.py',
'debug': 'builds/releng_sub_%s_configs/%s_debug.py',
'asan-and-debug': 'builds/releng_sub_%s_configs/%s_asan_and_debug.py',
'asan-tc-and-debug': 'builds/releng_sub_%s_configs/%s_asan_tc_and_debug.py',