testing/mozharness/configs/builds/releng_sub_mac_configs/64_stat_and_debug.py
author Dustin J. Mitchell <dustin@mozilla.com>
Thu, 10 Aug 2017 17:05:11 +0000
changeset 418833 88081c5bc847f126b2e0b561225ce392196f1841
parent 416371 d49ae3164b4ed8b199b0e8317ca21c68527d9c5f
child 436647 baa73f2bdc72d548324d1e3fba72e05822a9fce4
permissions -rw-r--r--
Bug 1335353: remove refs to /tools/buildbot; r=aki On Taskcluster machines, /tools/buildbot doesn't exist. It turns out, nothing refers to exes['python'] anyway, so we can just remove that (the preference is to use sys.executable instead). The references to exes['buildbot'] were all for sendchanges from builds to tests, and those too are all gone now. Lines like 'virtualenv': ['/tools/buildbot/bin/python', '/tools/misc-python/virtualenv.py'], Were committing two sins: first, using a python executable from a random virtualenv; and second, using a virtualenv.py from another random directory (in this case, it's a utility script for a PuppetAgain module). Such lines are replaced with a reference to /tools/virtualenv/bin/virtualenv, which is installed for the express purpose of providing a virtualenv binary on testers (for builds, we use the vendored copy). MozReview-Commit-ID: 4iHX3B3MLyK

import os

MOZ_OBJDIR = 'obj-firefox'

config = {
    'default_actions': [
        'clobber',
        'clone-tools',
        'checkout-sources',
        # 'setup-mock',
        'build',
        'upload-files',
        'sendchange',
        'update',  # decided by query_is_nightly()
    ],
    'debug_build': True,
    'stage_platform': 'macosx64-st-an-debug',
    'build_type': 'st-an-debug',
    'tooltool_manifest_src': "browser/config/tooltool-manifests/macosx64/\
clang.manifest",
    'platform_supports_post_upload_to_latest': False,
    'enable_signing': False,
    'enable_talos_sendchange': False,
    'enable_unittest_sendchange': False,
    'objdir': MOZ_OBJDIR,
    'perfherder_extra_options': ['static-analysis'],
    #### 64 bit build specific #####
    'env': {
        'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
        'HG_SHARE_BASE_DIR': '/builds/hg-shared',
        'MOZ_OBJDIR': MOZ_OBJDIR,
        '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:/opt/local/bin:/usr/bin:'
                '/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin',
    },
    'src_mozconfig': 'browser/config/mozconfigs/macosx64/debug-static-analysis',
    #######################
}