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

via libc-commits libc-commits at lists.llvm.org
Sat Jul 19 13:42:37 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)
----------------
lntue wrote:

Can you temporarily disable `bfloat16_test` for full build mode?  It is the `MPCommon` target that needs to be updated so that `mpfr_inc.h` is not included in the `MPCommon.h` header.

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


More information about the libc-commits mailing list