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_bootstrap_builder (builder_name ):
19
16
return 'bootstrap' in builder_name
20
17
@@ -44,7 +41,6 @@ def main(argv):
44
41
source_dir = os .path .join ('..' , 'llvm-project' )
45
42
builder_name = os .environ .get ('BUILDBOT_BUILDERNAME' )
46
43
fullbuild = is_fullbuild_builder (builder_name )
47
- runtimes_build = is_runtimes_builder (builder_name )
48
44
bootstrap_build = is_bootstrap_builder (builder_name )
49
45
gcc_build = is_gcc_builder (builder_name )
50
46
lint_build = is_lint_builder (builder_name )
@@ -71,16 +67,14 @@ def main(argv):
71
67
# explicit here, which reduces one step of setting environment
72
68
# variables when setting up workers.
73
69
cmake_args = ['-GNinja' ,
70
+ '-DLLVM_ENABLE_RUNTIMES=libc' ,
74
71
'-DCMAKE_C_COMPILER=%s' % cc ,
75
72
'-DCMAKE_CXX_COMPILER=%s' % cxx ]
76
73
if lint_build :
77
74
cmake_args .append ('-DLLVM_LIBC_CLANG_TIDY=%s' % clang_tidy )
78
75
79
- if runtimes_build or bootstrap_build :
76
+ if bootstrap_build :
80
77
projects = ['clang' ]
81
- cmake_args .append ('-DLLVM_ENABLE_RUNTIMES=libc' )
82
- else :
83
- projects = ['libc' ]
84
78
85
79
if args .debug :
86
80
cmake_args .append ('-DCMAKE_BUILD_TYPE=Debug' )
@@ -131,7 +125,7 @@ def main(argv):
131
125
with step ('build libc-startup' ):
132
126
run_command (['ninja' , 'libc-startup' ])
133
127
134
- if runtimes_build or bootstrap_build :
128
+ if bootstrap_build :
135
129
with step ('check-libc' ):
136
130
run_command (['ninja' , 'check-libc' ])
137
131
else :
@@ -150,7 +144,7 @@ def main(argv):
150
144
with step ('Benchmark Utils Tests' ):
151
145
run_command (['ninja' , 'libc-benchmark-util-tests' ])
152
146
153
- if not (fullbuild or runtimes_build or bootstrap_build ) and x86_64_build :
147
+ if not (fullbuild or bootstrap_build ) and x86_64_build :
154
148
with step ('libc-fuzzer' ):
155
149
run_command (['ninja' , 'libc-fuzzer' ])
156
150
0 commit comments