Skip to content

Commit 15251a4

Browse files
libc: make new bootstrap builder a dup of runtimes
Before renaming the existing debian-dbg-runtimes-build to debian-dbg-bootstrap-build, make sure that the new name will be recognized so that there's no downtime of CI coverage due to renaming the buildbot. Link: llvm#325 (comment)
1 parent 0f057bd commit 15251a4

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

zorg/buildbot/builders/annotated/libc-linux.py

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ def is_fullbuild_builder(builder_name):
1515
def is_runtimes_builder(builder_name):
1616
return ('runtimes' in builder_name.split('-'))
1717

18+
def is_bootstrap_builder(builder_name):
19+
return 'bootstrap' in builder_name
20+
1821
def is_gcc_builder(builder_name):
1922
return ('gcc' in builder_name.split('-'))
2023

@@ -42,6 +45,7 @@ def main(argv):
4245
builder_name = os.environ.get('BUILDBOT_BUILDERNAME')
4346
fullbuild = is_fullbuild_builder(builder_name)
4447
runtimes_build = is_runtimes_builder(builder_name)
48+
bootstrap_build = is_bootstrap_builder(builder_name)
4549
gcc_build = is_gcc_builder(builder_name)
4650
lint_build = is_lint_builder(builder_name)
4751
riscv_build = is_riscv_builder(builder_name)
@@ -72,11 +76,11 @@ def main(argv):
7276
if lint_build:
7377
cmake_args.append('-DLLVM_LIBC_CLANG_TIDY=%s' % clang_tidy)
7478

75-
if runtimes_build:
76-
projects = ['llvm', 'clang']
79+
if runtimes_build or bootstrap_build:
80+
projects = ['clang']
7781
cmake_args.append('-DLLVM_ENABLE_RUNTIMES=libc')
7882
else:
79-
projects = ['llvm', 'libc']
83+
projects = ['libc']
8084

8185
if args.debug:
8286
cmake_args.append('-DCMAKE_BUILD_TYPE=Debug')
@@ -127,7 +131,7 @@ def main(argv):
127131
with step('build libc-startup'):
128132
run_command(['ninja', 'libc-startup'])
129133

130-
if runtimes_build:
134+
if runtimes_build or bootstrap_build:
131135
with step('check-libc'):
132136
run_command(['ninja', 'check-libc'])
133137
else:
@@ -146,7 +150,7 @@ def main(argv):
146150
with step('Benchmark Utils Tests'):
147151
run_command(['ninja', 'libc-benchmark-util-tests'])
148152

149-
if not (fullbuild or runtimes_build) and x86_64_build:
153+
if not (fullbuild or runtimes_build or bootstrap_build) and x86_64_build:
150154
with step('libc-fuzzer'):
151155
run_command(['ninja', 'libc-fuzzer'])
152156

0 commit comments

Comments
 (0)