Skip to content

Commit 5c14bef

Browse files
libc: make new bootstrap builder a dup of runtimes (#332)
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. Also remove llvm from the explicit project list; that's not necessary (or may have been for old hdrgen which has been removed). Link: #325 (comment)
1 parent c5b24a5 commit 5c14bef

File tree

3 files changed

+22
-17
lines changed

3 files changed

+22
-17
lines changed

buildbot/osuosl/master/config/builders.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2246,10 +2246,10 @@
22462246
depends_on_projects=['llvm', 'libc', 'clang', 'clang-tools-extra'],
22472247
extra_args=['--debug', '--asan'])},
22482248

2249-
{'name' : "libc-x86_64-debian-dbg-runtimes-build",
2249+
{'name' : "libc-x86_64-debian-dbg-bootstrap-build",
22502250
'tags' : ["libc"],
22512251
'workernames' : ["libc-x86_64-debian"],
2252-
'builddir': "libc-x86_64-debian-dbg-runtimes-build",
2252+
'builddir': "libc-x86_64-debian-dbg-bootstrap-build",
22532253
'factory' : AnnotatedBuilder.getAnnotatedBuildFactory(
22542254
script="libc-linux.py",
22552255
depends_on_projects=['llvm', 'libc', 'clang', 'clang-tools-extra'],

buildbot/osuosl/master/config/status.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -285,20 +285,21 @@ def getReporters():
285285
generators = [
286286
utils.LLVMDefaultBuildStatusGenerator(
287287
builders = [
288-
"libc-x86_64-debian",
289-
"libc-x86_64_debian-dbg",
290-
"libc-x86_64-debian-dbg-runtimes-build",
291-
"libc-x86_64-debian-dbg-asan",
292288
"libc-aarch64-ubuntu-dbg",
293-
"libc-x86_64-windows-dbg",
294-
"libc-arm32-debian-dbg",
295289
"libc-aarch64-ubuntu-fullbuild-dbg",
296-
"libc-x86_64-debian-fullbuild-dbg",
297-
"libc-x86_64-debian-gcc-fullbuild-dbg",
298-
"libc-x86_64-debian-fullbuild-dbg-asan",
290+
"libc-arm32-debian-dbg",
299291
"libc-riscv64-debian-dbg",
300292
"libc-riscv64-debian-fullbuild-dbg",
301-
"libc-x86_64-debian-dbg-lint"])
293+
"libc-x86_64-debian",
294+
"libc-x86_64-debian-dbg-asan",
295+
"libc-x86_64-debian-dbg-bootstrap-build",
296+
"libc-x86_64-debian-dbg-lint",
297+
"libc-x86_64-debian-fullbuild-dbg",
298+
"libc-x86_64-debian-fullbuild-dbg-asan",
299+
"libc-x86_64-debian-gcc-fullbuild-dbg",
300+
"libc-x86_64-windows-dbg",
301+
"libc-x86_64_debian-dbg",
302+
])
302303
]),
303304
reporters.MailNotifier(
304305
dumpMailsToLog = True, # TODO: For debug purposes only. Remove this later.

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)