Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright 2013 The Chromium Authors. All rights reserved. | 4 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
| 6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
| 7 | 7 |
| 8 from buildbot.changes.filter import ChangeFilter | 8 from buildbot.changes.filter import ChangeFilter |
| 9 from buildbot.scheduler import Nightly | 9 from buildbot.scheduler import Nightly |
| 10 from buildbot.scheduler import Scheduler | 10 from buildbot.scheduler import Scheduler |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 134 }) | 134 }) |
| 135 | 135 |
| 136 # The identifier of the factory is the build configuration. If two factories | 136 # The identifier of the factory is the build configuration. If two factories |
| 137 # are using the same build configuration, they should have the same identifier. | 137 # are using the same build configuration, they should have the same identifier. |
| 138 | 138 |
| 139 linux_default_opts = ['--build-tool=make', '--src-dir=v8', | 139 linux_default_opts = ['--build-tool=make', '--src-dir=v8', |
| 140 # TODO(thakis): Remove this once v8 r18257 has reached | 140 # TODO(thakis): Remove this once v8 r18257 has reached |
| 141 # the stable branch. | 141 # the stable branch. |
| 142 '--', 'builddir_name=.'] | 142 '--', 'builddir_name=.'] |
| 143 | 143 |
| 144 asan_rel_sym_gyp = ('asan=1 use_allocator=none v8_enable_verify_heap=1 ' | 144 asan_rel_sym_gyp = ('asan=1 lsan=1 sanitizer_coverage=3 ' |
| 145 'release_extra_cflags="-gline-tables-only ' | 145 'v8_enable_verify_heap=1 ' |
| 146 '-O2 -fno-inline-functions -fno-inline" ' | 146 'release_extra_cflags="-fno-inline-functions -fno-inline" ') |
| 147 'lsan=1 asan_coverage=1') | |
| 148 | 147 |
| 149 f_linux_asan_rel_sym = linux().ChromiumFactory( | 148 f_linux_asan_rel_sym = linux().ChromiumFactory( |
| 150 clobber=True, | 149 clobber=True, |
| 151 options=['--compiler=goma-clang', 'chromium_builder_asan'], | 150 options=['--compiler=goma-clang', 'chromium_builder_asan'], |
| 152 factory_properties={ | 151 factory_properties={ |
| 153 'primary_repo': 'v8_', | 152 'primary_repo': 'v8_', |
| 154 'cf_archive_build': ActiveMaster.is_production_host, | 153 'cf_archive_build': ActiveMaster.is_production_host, |
| 155 'cf_archive_name': 'asan-symbolized', | 154 'cf_archive_name': 'asan-symbolized', |
| 156 'gs_bucket': 'gs://v8-asan', | 155 'gs_bucket': 'gs://v8-asan', |
| 157 'gs_acl': 'public-read', | 156 'gs_acl': 'public-read', |
| 158 'gclient_env': { | 157 'gclient_env': { |
| 159 'GYP_DEFINES': asan_rel_sym_gyp, | 158 'GYP_DEFINES': asan_rel_sym_gyp, |
| 160 }, | 159 }, |
| 161 'no_gclient_revision': True, | 160 'no_gclient_revision': True, |
| 162 'revision_dir': 'v8', | 161 'revision_dir': 'v8', |
| 163 'safesync_url': 'http://chromium-status.appspot.com/lkgr', | 162 'safesync_url': 'http://chromium-status.appspot.com/lkgr', |
| 164 }) | 163 }) |
| 165 | 164 |
| 166 f_linux_asan_dbg = linux().ChromiumFactory( | 165 f_linux_asan_dbg = linux().ChromiumFactory( |
| 167 target='Debug', | 166 target='Debug', |
| 168 clobber=True, | 167 clobber=True, |
| 169 options=['--compiler=goma-clang', 'chromium_builder_asan'], | 168 options=['--compiler=goma-clang', 'chromium_builder_asan'], |
| 170 factory_properties={ | 169 factory_properties={ |
| 171 'primary_repo': 'v8_', | 170 'primary_repo': 'v8_', |
| 172 'cf_archive_build': ActiveMaster.is_production_host, | 171 'cf_archive_build': ActiveMaster.is_production_host, |
| 173 'cf_archive_name': 'asan', | 172 'cf_archive_name': 'asan', |
| 174 'gs_bucket': 'gs://v8-asan', | 173 'gs_bucket': 'gs://v8-asan', |
| 175 'gs_acl': 'public-read', | 174 'gs_acl': 'public-read', |
| 176 'gclient_env': { | 175 'gclient_env': { |
| 177 'GYP_DEFINES': ('asan=1 lsan=1 asan_coverage=1 ' | 176 'GYP_DEFINES': ('asan=1 lsan=1 sanitizer_coverage=3 ' |
| 178 'use_allocator=none v8_optimized_debug=1'), | 177 'use_allocator=none v8_optimized_debug=1'), |
|
earthdok
2015/02/24 17:13:05
Please remove use_allocator=none here as well.
| |
| 179 }, | 178 }, |
| 180 'no_gclient_revision': True, | 179 'no_gclient_revision': True, |
| 181 'revision_dir': 'v8', | 180 'revision_dir': 'v8', |
| 182 'safesync_url': 'http://chromium-status.appspot.com/lkgr', | 181 'safesync_url': 'http://chromium-status.appspot.com/lkgr', |
| 183 }) | 182 }) |
| 184 | 183 |
| 185 asan_x64_v8_arm64 = ('asan=1 asan_coverage=1 use_allocator=none disable_nacl=1 ' | 184 asan_x64_v8_arm64 = ('asan=1 lsan=1 sanitizer_coverage=3 disable_nacl=1 ' |
| 186 'v8_target_arch=arm64 host_arch=x86_64 target_arch=x64 ' | 185 'v8_target_arch=arm64 host_arch=x86_64 target_arch=x64 ' |
| 187 'v8_enable_verify_heap=1 enable_ipc_fuzzer=1') | 186 'v8_enable_verify_heap=1 enable_ipc_fuzzer=1') |
| 188 asan_x64_v8_arm64_rel_sym = ('%s release_extra_cflags="-gline-tables-only -O1 ' | 187 asan_x64_v8_arm64_rel_sym = ('%s release_extra_cflags="-O1 ' |
| 189 '-fno-inline-functions -fno-inline"' % | 188 '-fno-inline-functions -fno-inline"' % |
| 190 asan_x64_v8_arm64) | 189 asan_x64_v8_arm64) |
| 191 | 190 |
| 192 f_linux_asan_arm64_rel_sym = linux().ChromiumFactory( | 191 f_linux_asan_arm64_rel_sym = linux().ChromiumFactory( |
| 193 clobber=True, | 192 clobber=True, |
| 194 options=['--compiler=goma-clang', 'chromium_builder_asan'], | 193 options=['--compiler=goma-clang', 'chromium_builder_asan'], |
| 195 factory_properties={ | 194 factory_properties={ |
| 196 'primary_repo': 'v8_', | 195 'primary_repo': 'v8_', |
| 197 'cf_archive_build': ActiveMaster.is_production_host, | 196 'cf_archive_build': ActiveMaster.is_production_host, |
| 198 'cf_archive_name': 'arm64-asan-symbolized', | 197 'cf_archive_name': 'arm64-asan-symbolized', |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 504 lookup=master_utils.FilterDomain()) | 503 lookup=master_utils.FilterDomain()) |
| 505 c['status'].append(mn) | 504 c['status'].append(mn) |
| 506 | 505 |
| 507 # Adjust the buildCaches to be 3x the number of slaves per builder. | 506 # Adjust the buildCaches to be 3x the number of slaves per builder. |
| 508 c['autoBuildCacheRatio'] = 3 | 507 c['autoBuildCacheRatio'] = 3 |
| 509 | 508 |
| 510 ####### PROJECT IDENTITY | 509 ####### PROJECT IDENTITY |
| 511 | 510 |
| 512 c['projectName'] = ActiveMaster.project_name | 511 c['projectName'] = ActiveMaster.project_name |
| 513 c['projectURL'] = config.Master.project_url | 512 c['projectURL'] = config.Master.project_url |
| OLD | NEW |