12
12
def is_fullbuild_builder (builder_name ):
13
13
return ('fullbuild' in builder_name .split ('-' ))
14
14
15
- def is_runtimes_builder (builder_name ):
16
- return ('runtimes' in builder_name .split ('-' ))
17
-
18
15
def is_gcc_builder (builder_name ):
19
16
return ('gcc' in builder_name .split ('-' ))
20
17
@@ -41,7 +38,6 @@ def main(argv):
41
38
source_dir = os .path .join ('..' , 'llvm-project' )
42
39
builder_name = os .environ .get ('BUILDBOT_BUILDERNAME' )
43
40
fullbuild = is_fullbuild_builder (builder_name )
44
- runtimes_build = is_runtimes_builder (builder_name )
45
41
gcc_build = is_gcc_builder (builder_name )
46
42
lint_build = is_lint_builder (builder_name )
47
43
riscv_build = is_riscv_builder (builder_name )
@@ -72,11 +68,10 @@ def main(argv):
72
68
if lint_build :
73
69
cmake_args .append ('-DLLVM_LIBC_CLANG_TIDY=%s' % clang_tidy )
74
70
75
- if runtimes_build :
76
- projects = ['llvm' , 'clang' ]
77
- cmake_args .append ('-DLLVM_ENABLE_RUNTIMES=libc' )
78
- else :
79
- projects = ['llvm' , 'libc' ]
71
+ # TODO: remove once old hdrgen is deleted.
72
+ # https://github.com/llvm/llvm-project/pull/117220
73
+ projects = ['llvm' , 'clang' ]
74
+ cmake_args .append ('-DLLVM_ENABLE_RUNTIMES=libc' )
80
75
81
76
if args .debug :
82
77
cmake_args .append ('-DCMAKE_BUILD_TYPE=Debug' )
@@ -127,12 +122,8 @@ def main(argv):
127
122
with step ('build libc-startup' ):
128
123
run_command (['ninja' , 'libc-startup' ])
129
124
130
- if runtimes_build :
131
- with step ('check-libc' ):
132
- run_command (['ninja' , 'check-libc' ])
133
- else :
134
- with step ('libc-unit-tests' ):
135
- run_command (['ninja' , 'libc-unit-tests' ])
125
+ with step ('check-libc' ):
126
+ run_command (['ninja' , 'check-libc' ])
136
127
137
128
if fullbuild and not args .asan :
138
129
with step ('libc-api-test' ):
@@ -148,7 +139,7 @@ def main(argv):
148
139
with step ('Benchmark Utils Tests' ):
149
140
run_command (['ninja' , 'libc-benchmark-util-tests' ])
150
141
151
- if not ( fullbuild or runtimes_build ) and x86_64_build :
142
+ if not fullbuild and x86_64_build :
152
143
with step ('libc-fuzzer' ):
153
144
run_command (['ninja' , 'libc-fuzzer' ])
154
145
0 commit comments