[libc-commits] [libc] [libc] Disable bfloat16 test for full build mode (PR #149678)

via libc-commits libc-commits at lists.llvm.org
Sat Jul 19 14:51:40 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Mikhail R. Gadelha (mikhailramalho)

<details>
<summary>Changes</summary>

This patch temporarily disables bfloat16_test for full build mode, until the MPCommon target is updated so that mpfr_inc.h is not included in the MPCommon.h header.

This should fix the rv32 buildbot failures.

---
Full diff: https://github.com/llvm/llvm-project/pull/149678.diff


1 Files Affected:

- (modified) libc/test/src/__support/FPUtil/CMakeLists.txt (+4) 


``````````diff
diff --git a/libc/test/src/__support/FPUtil/CMakeLists.txt b/libc/test/src/__support/FPUtil/CMakeLists.txt
index dfd90057b6ebf..571352f31661e 100644
--- a/libc/test/src/__support/FPUtil/CMakeLists.txt
+++ b/libc/test/src/__support/FPUtil/CMakeLists.txt
@@ -39,6 +39,10 @@ add_fp_unittest(
     libc.src.__support.FPUtil.rounding_mode
 )
 
+if(LLVM_LIBC_FULL_BUILD)
+  return()
+endif()
+
 add_fp_unittest(
   bfloat16_test
   NEED_MPFR

``````````

</details>


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


More information about the libc-commits mailing list