Skip to content

Commit f1f0b52

Browse files
libc: use runtimes dir as base for cmake
Fixes: #325
1 parent 6deafd3 commit f1f0b52

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
@@ -111,7 +111,11 @@ def main(argv):
111111
cmake_args.append('-DCMAKE_LINKER=/usr/bin/ld.lld')
112112
cmake_args.append('-DLLVM_LIBC_MPFR_INSTALL_PATH={}/gmp+mpfr/'.format(os.getenv('HOME')))
113113

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

116120
if lint_build:
117121
with step('lint libc'):

0 commit comments

Comments
 (0)