Bug 1341404 - add macosx64 noopt debug builds; r=dustin,mshal

This commit is contained in:
Nathan Froyd 2017-06-02 16:56:56 -04:00
parent 83ccb044ca
commit a8a13545db
5 changed files with 78 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# Developers often build with these options for a better debugging experience.
. "$topsrcdir/browser/config/mozconfigs/macosx64/debug"
# We add this last to guard against inadvertent changes in the debug config.
# It may conflict with settings from mozconfig.override, but that seems
# unlikely.
ac_add_options --disable-optimize

View File

@ -41,6 +41,32 @@ macosx64/opt:
secrets: true
tooltool-downloads: internal
macosx64-noopt/debug:
description: "MacOS X x64 No-optimize Debug"
index:
product: firefox
job-name: macosx64-noopt-debug
treeherder:
platform: osx-10-7-noopt/debug
symbol: tc(B)
tier: 2
worker-type: aws-provisioner-v1/gecko-{level}-b-macosx64
worker:
docker-image: {in-tree: desktop-build}
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-noopt-debug
tooltool-downloads: internal
keep-artifacts: false
run-on-projects: [ 'stylo', 'autoland', 'mozilla-inbound', 'mozilla-central', 'try' ]
macosx64-add-on-devel/opt:
description: "MacOS X x64 add-on-devel"
index:

View File

@ -50,6 +50,7 @@ JOB_NAME_WHITELIST = set([
'macosx64-add-on-devel',
'macosx64-clang-tidy',
'macosx64-debug',
'macosx64-noopt-debug',
'macosx64-opt',
'macosx64-st-an-debug',
'macosx64-st-an-opt',

View File

@ -0,0 +1,43 @@
import os
MOZ_OBJDIR = 'obj-firefox'
config = {
'default_actions': [
'clobber',
'clone-tools',
'checkout-sources',
# 'setup-mock',
'build',
# 'generate-build-stats',
'upload-files',
'sendchange',
'update', # decided by query_is_nightly()
],
'stage_platform': 'macosx64-noopt-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'),
'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/cross-noopt-debug',
'artifact_flag_build_variant_in_try': 'cross-debug-artifact',
#######################
}

View File

@ -351,6 +351,7 @@ class BuildOptionParser(object):
'cross-debug': 'builds/releng_sub_%s_configs/%s_cross_debug.py',
'cross-debug-st-an': 'builds/releng_sub_%s_configs/%s_cross_debug_st_an.py',
'cross-debug-artifact': 'builds/releng_sub_%s_configs/%s_cross_debug_artifact.py',
'cross-noopt-debug': 'builds/releng_sub_%s_configs/%s_cross_noopt_debug.py',
'cross-opt-st-an': 'builds/releng_sub_%s_configs/%s_cross_opt_st_an.py',
'cross-artifact': 'builds/releng_sub_%s_configs/%s_cross_artifact.py',
'debug': 'builds/releng_sub_%s_configs/%s_debug.py',