[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 13:02:56 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:

Another alternative would be to change `bfloat16_test.cpp` so it doesn't use mpfr, but I think this should be a bit more complicated.

How do you want me to proceed?

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


More information about the libc-commits mailing list