File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
zorg/buildbot/builders/annotated Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -67,15 +67,13 @@ def main(argv):
6767 # explicit here, which reduces one step of setting environment
6868 # variables when setting up workers.
6969 cmake_args = ['-GNinja' ,
70- '-DLLVM_ENABLE_RUNTIMES=libc' ,
7170 '-DCMAKE_C_COMPILER=%s' % cc ,
7271 '-DCMAKE_CXX_COMPILER=%s' % cxx ]
7372 if lint_build :
7473 cmake_args .append ('-DLLVM_LIBC_CLANG_TIDY=%s' % clang_tidy )
7574
76- projects = []
7775 if bootstrap_build :
78- projects .append ('clang' )
76+ cmake_args .append ('-DLLVM_ENABLE_PROJECTS= clang' )
7977
8078 if args .debug :
8179 cmake_args .append ('-DCMAKE_BUILD_TYPE=Debug' )
@@ -85,11 +83,10 @@ def main(argv):
8583 if args .asan :
8684 cmake_args .append ('-DLLVM_USE_SANITIZER=Address' )
8785
86+ runtimes = ['libc' ]
8887 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 )} " )
9390
9491 if fullbuild and not args .asan and not lint_build and not riscv_build :
9592 cmake_args .append ('-DLLVM_LIBC_INCLUDE_SCUDO=ON' )
You can’t perform that action at this time.
0 commit comments