Skip to content

Commit

Permalink
move compiler-rt to runtimes
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdesaulniers committed Dec 12, 2024
1 parent f1f0b52 commit 98ab61a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions zorg/buildbot/builders/annotated/libc-linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,13 @@ def main(argv):
# explicit here, which reduces one step of setting environment
# variables when setting up workers.
cmake_args = ['-GNinja',
'-DLLVM_ENABLE_RUNTIMES=libc',
'-DCMAKE_C_COMPILER=%s' % cc,
'-DCMAKE_CXX_COMPILER=%s' % cxx]
if lint_build:
cmake_args.append('-DLLVM_LIBC_CLANG_TIDY=%s' % clang_tidy)

if bootstrap_build:
projects = ['clang']
cmake_args.append('-DLLVM_ENABLE_PROJECTS=clang')

if args.debug:
cmake_args.append('-DCMAKE_BUILD_TYPE=Debug')
Expand All @@ -84,10 +83,10 @@ def main(argv):
if args.asan:
cmake_args.append('-DLLVM_USE_SANITIZER=Address')

runtimes = ['libc']
if fullbuild and not args.asan and not lint_build and not riscv_build:
projects.extend(['clang', 'compiler-rt'])

cmake_args.append('-DLLVM_ENABLE_PROJECTS={}'.format(';'.join(projects)))
runtimes.append('compiler-rt')
cmakes_args.append(f"-DLLVM_ENABLE_PROJECTS={';'.join(runtimes)}")

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

0 comments on commit 98ab61a

Please sign in to comment.