[libc-commits] [libc] [libc] Disabled mpfr tests in full build mode, even if we set the mpfr path (PR #149655)

Mikhail R. Gadelha via libc-commits libc-commits at lists.llvm.org
Sat Jul 19 12:02:53 PDT 2025


================
@@ -1,11 +1,11 @@
 set(LLVM_LIBC_MPFR_INSTALL_PATH "" CACHE PATH "Path to where MPFR is installed (e.g. C:/src/install or ~/src/install)")
 
-if(LLVM_LIBC_MPFR_INSTALL_PATH)
-  set(LIBC_TESTS_CAN_USE_MPFR TRUE)
-elseif(LIBC_TARGET_OS_IS_GPU OR LLVM_LIBC_FULL_BUILD)
+if(LIBC_TARGET_OS_IS_GPU OR LLVM_LIBC_FULL_BUILD)
----------------
mikhailramalho wrote:

Currently, If you set `-DLLVM_LIBC_FULL_BUILD=ON`, it will already disable mpfr tests, unless you explicitly set `LLVM_LIBC_MPFR_INSTALL_PATH`.

I double-checked all buildbots and the only one that was doing a full build and setting the mpfr path was the rv32 buildbot: https://github.com/llvm/llvm-zorg/blob/6fcd3566a6c9665f70f0bf3f366a148c38787a25/zorg/buildbot/builders/annotated/libc-linux.py#L112



https://github.com/llvm/llvm-project/pull/149655


More information about the libc-commits mailing list