Skip to content

Commit 98ab61a

Browse files
move compiler-rt to runtimes
1 parent f1f0b52 commit 98ab61a

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

zorg/buildbot/builders/annotated/libc-linux.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +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

7675
if bootstrap_build:
77-
projects = ['clang']
76+
cmake_args.append('-DLLVM_ENABLE_PROJECTS=clang')
7877

7978
if args.debug:
8079
cmake_args.append('-DCMAKE_BUILD_TYPE=Debug')
@@ -84,10 +83,10 @@ def main(argv):
8483
if args.asan:
8584
cmake_args.append('-DLLVM_USE_SANITIZER=Address')
8685

86+
runtimes = ['libc']
8787
if fullbuild and not args.asan and not lint_build and not riscv_build:
88-
projects.extend(['clang', 'compiler-rt'])
89-
90-
cmake_args.append('-DLLVM_ENABLE_PROJECTS={}'.format(';'.join(projects)))
88+
runtimes.append('compiler-rt')
89+
cmakes_args.append(f"-DLLVM_ENABLE_PROJECTS={';'.join(runtimes)}")
9190

9291
if fullbuild and not args.asan and not lint_build and not riscv_build:
9392
cmake_args.append('-DLLVM_LIBC_INCLUDE_SCUDO=ON')

0 commit comments

Comments
 (0)