Skip to content

Commit 7349140

Browse files
libc: use runtimes dir as base for cmake
Fixes: llvm#325
1 parent fa37e02 commit 7349140

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,11 @@ def main(argv):
113113
cmake_args.append('-DCMAKE_LINKER=/usr/bin/ld.lld')
114114
cmake_args.append('-DLLVM_LIBC_MPFR_INSTALL_PATH={}/gmp+mpfr/'.format(os.getenv('HOME')))
115115

116-
run_command(['cmake', os.path.join(source_dir, 'llvm')] + cmake_args)
116+
if bootstrap_build:
117+
cmake_root = 'llvm'
118+
else:
119+
cmake_root = 'runtimes'
120+
run_command(['cmake', os.path.join(source_dir, cmake_root)] + cmake_args)
117121

118122
if lint_build:
119123
with step('lint libc'):

0 commit comments

Comments
 (0)