Skip to content

Commit d55a314

Browse files
[libc] Add support to test math tests in rv32 (#240)
1 parent d8df16f commit d55a314

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ def main(argv):
108108
cmake_args.append('-DLLVM_HOST_TRIPLE=riscv32-unknown-linux-gnu')
109109
cmake_args.append('-DLLVM_TARGETS_TO_BUILD=RISCV')
110110
cmake_args.append('-DCMAKE_LINKER=/usr/bin/ld.lld')
111+
cmake_args.append('-DLLVM_LIBC_MPFR_INSTALL_PATH={}/gmp+mpfr/'.format(os.getenv('HOME')))
111112

112113
run_command(['cmake', os.path.join(source_dir, 'llvm')] + cmake_args)
113114

@@ -148,7 +149,7 @@ def main(argv):
148149
run_command(['make', 'check'], directory=aor_dir)
149150
with step('Benchmark Utils Tests'):
150151
run_command(['ninja', 'libc-benchmark-util-tests'])
151-
152+
152153
if not (fullbuild or runtimes_build) and x86_64_build:
153154
with step('libc-fuzzer'):
154155
run_command(['ninja', 'libc-fuzzer'])

0 commit comments

Comments
 (0)