Skip to content

Commit

Permalink
libc: use runtimes dir as base for cmake
Browse files Browse the repository at this point in the history
Fixes: llvm#325
  • Loading branch information
nickdesaulniers committed Dec 12, 2024
1 parent fa37e02 commit 7349140
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion zorg/buildbot/builders/annotated/libc-linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,11 @@ def main(argv):
cmake_args.append('-DCMAKE_LINKER=/usr/bin/ld.lld')
cmake_args.append('-DLLVM_LIBC_MPFR_INSTALL_PATH={}/gmp+mpfr/'.format(os.getenv('HOME')))

run_command(['cmake', os.path.join(source_dir, 'llvm')] + cmake_args)
if bootstrap_build:
cmake_root = 'llvm'
else:
cmake_root = 'runtimes'
run_command(['cmake', os.path.join(source_dir, cmake_root)] + cmake_args)

if lint_build:
with step('lint libc'):
Expand Down

0 comments on commit 7349140

Please sign in to comment.