File tree 1 file changed +4
-7
lines changed
zorg/buildbot/builders/annotated
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -67,15 +67,13 @@ def main(argv):
67
67
# explicit here, which reduces one step of setting environment
68
68
# variables when setting up workers.
69
69
cmake_args = ['-GNinja' ,
70
- '-DLLVM_ENABLE_RUNTIMES=libc' ,
71
70
'-DCMAKE_C_COMPILER=%s' % cc ,
72
71
'-DCMAKE_CXX_COMPILER=%s' % cxx ]
73
72
if lint_build :
74
73
cmake_args .append ('-DLLVM_LIBC_CLANG_TIDY=%s' % clang_tidy )
75
74
76
- projects = []
77
75
if bootstrap_build :
78
- projects .append ('clang' )
76
+ cmake_args .append ('-DLLVM_ENABLE_PROJECTS= clang' )
79
77
80
78
if args .debug :
81
79
cmake_args .append ('-DCMAKE_BUILD_TYPE=Debug' )
@@ -85,11 +83,10 @@ def main(argv):
85
83
if args .asan :
86
84
cmake_args .append ('-DLLVM_USE_SANITIZER=Address' )
87
85
86
+ runtimes = ['libc' ]
88
87
if fullbuild and not args .asan and not lint_build and not riscv_build :
89
- projects .extend (['clang' , 'compiler-rt' ])
90
-
91
- if projects :
92
- cmake_args .append ('-DLLVM_ENABLE_PROJECTS={}' .format (';' .join (projects )))
88
+ runtimes .append ('compiler-rt' )
89
+ cmakes_args .append (f"-DLLVM_ENABLE_PROJECTS={ ';' .join (runtimes )} " )
93
90
94
91
if fullbuild and not args .asan and not lint_build and not riscv_build :
95
92
cmake_args .append ('-DLLVM_LIBC_INCLUDE_SCUDO=ON' )
You can’t perform that action at this time.
0 commit comments