Bug 1203390 - Add support for Linux64 Static Analysis opt builds using TaskCluster; r=dustin

This commit is contained in:
Ehsan Akhgari 2015-09-03 21:46:29 -04:00
Родитель b892ad92e4
Коммит c99d450aee
4 изменённых файлов: 123 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,91 @@
import os
config = {
'default_actions': [
'clobber',
'clone-tools',
'checkout-sources',
'setup-mock',
'build',
# 'generate-build-stats',
],
"buildbot_json_path": "buildprops.json",
'exes': {
"buildbot": "/tools/buildbot/bin/buildbot",
},
'app_ini_path': '%(obj_dir)s/dist/bin/application.ini',
# decides whether we want to use moz_sign_cmd in env
'enable_signing': False,
'purge_skip': ['info', 'rel-*:10d', 'tb-rel-*:10d'],
'purge_basedirs': ["/mock/users/cltbld/home/cltbld/build"],
'enable_ccache': True,
'vcs_share_base': '/builds/hg-shared',
'objdir': 'obj-firefox',
'tooltool_script': ["/builds/tooltool.py"],
'tooltool_bootstrap': "setup.sh",
'enable_count_ctors': True,
'enable_talos_sendchange': False,
'enable_unittest_sendchange': False,
#########################################################################
#########################################################################
###### 64 bit specific ######
'base_name': 'Linux_x86-64_%(branch)s_Static_Analysis',
'platform': 'linux64',
'stage_platform': 'linux64-st-an',
'publish_nightly_en_US_routes': False,
'use_platform_in_symbols_extra_buildid': True,
'env': {
'MOZBUILD_STATE_PATH': os.path.join(os.getcwd(), '.mozbuild'),
'MOZ_AUTOMATION': '1',
'DISPLAY': ':2',
'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',
## 64 bit specific
'PATH': '/tools/buildbot/bin:/usr/local/bin:/usr/lib64/ccache:/bin:\
/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/tools/git/bin:/tools/python27/bin:\
/tools/python27-mercurial/bin:/home/cltbld/bin',
'LD_LIBRARY_PATH': "/tools/gcc-4.3.3/installed/lib64",
##
},
'purge_minsize': 14,
'mock_packages': [
'autoconf213', 'python', 'mozilla-python27', 'zip', 'mozilla-python27-mercurial',
'git', 'ccache', 'perl-Test-Simple', 'perl-Config-General',
'yasm', 'wget',
'mpfr', # required for system compiler
'xorg-x11-font*', # fonts required for PGO
'imake', # required for makedepend!?!
### <-- from releng repo
'gcc45_0moz3', 'gcc454_0moz1', 'gcc472_0moz1', 'gcc473_0moz1',
'yasm', 'ccache',
###
'valgrind', 'dbus-x11',
######## 64 bit specific ###########
'glibc-static', 'libstdc++-static',
'gtk2-devel', 'libnotify-devel',
'alsa-lib-devel', 'libcurl-devel', 'wireless-tools-devel',
'libX11-devel', 'libXt-devel', 'mesa-libGL-devel', 'gnome-vfs2-devel',
'GConf2-devel',
### from releng repo
'gcc45_0moz3', 'gcc454_0moz1', 'gcc472_0moz1', 'gcc473_0moz1',
'yasm', 'ccache',
###
'pulseaudio-libs-devel', 'gstreamer-devel',
'gstreamer-plugins-base-devel', 'freetype-2.3.11-6.el6_1.8.x86_64',
'freetype-devel-2.3.11-6.el6_1.8.x86_64'
],
'src_mozconfig': 'browser/config/mozconfigs/linux64/opt-static-analysis-clang',
'tooltool_manifest_src': 'browser/config/tooltool-manifests/linux64/\
clang.manifest.centos6',
#######################
}

Просмотреть файл

@ -34,3 +34,9 @@ builds:
task: tasks/builds/b2g_flame_kk_ota_opt.yml
debug:
task: tasks/builds/b2g_flame_kk_ota_debug.yml
linux64-st-an:
platforms:
- Linux64 Static Analysis
types:
opt:
task: tasks/builds/opt_linux64_st-an.yml

Просмотреть файл

@ -183,6 +183,12 @@ builds:
task: tasks/builds/opt_linux64_clobber.yml
debug:
task: tasks/builds/dbg_linux64_clobber.yml
linux64-st-an:
platforms:
- Linux64 Static Analysis
types:
opt:
task: tasks/builds/opt_linux64_st-an.yml
macosx64:
platforms:
- MacOSX64
@ -194,6 +200,7 @@ post-build:
upload-symbols:
allowed_build_tasks:
- tasks/builds/opt_linux64.yml
- tasks/builds/opt_linux64_st-an.yml
- tasks/builds/dbg_linux64.yml
- tasks/builds/android_api_11.yml
task: tasks/post-builds/upload_symbols.yml

Просмотреть файл

@ -0,0 +1,19 @@
$inherits:
from: 'tasks/builds/opt_linux64_clobber.yml'
variables:
build_name: 'linux64-st-an'
task:
metadata:
name: '[TC] Linux64 Static Analysis Opt'
description: 'Linux64 Static Analysis Opt'
routes:
- 'index.buildbot.branches.{{project}}.linux64-st-an'
- 'index.buildbot.revisions.{{head_rev}}.{{project}}.linux64-st-an'
payload:
env:
MOZHARNESS_SCRIPT: 'mozharness/scripts/fx_desktop_build.py'
MOZHARNESS_CONFIG: 'builds/releng_sub_linux_configs/64_stat_and_opt.py balrog/production.py'
DIST_UPLOADS: ''
DIST_TARGET_UPLOADS: ''