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

via libc-commits libc-commits at lists.llvm.org
Sun Jul 20 08:16:09 PDT 2025


Author: Mikhail R. Gadelha
Date: 2025-07-20T12:16:06-03:00
New Revision: eb3e56f19e0391d760c71655d1031b305a1d27f8

URL: https://github.com/llvm/llvm-project/commit/eb3e56f19e0391d760c71655d1031b305a1d27f8
DIFF: https://github.com/llvm/llvm-project/commit/eb3e56f19e0391d760c71655d1031b305a1d27f8.diff

LOG: [libc] Disable bfloat16 test for full build mode (#149678)

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.

Added: 
    

Modified: 
    libc/test/src/__support/FPUtil/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/test/src/__support/FPUtil/CMakeLists.txt b/libc/test/src/__support/FPUtil/CMakeLists.txt
index dfd90057b6ebf..039c700a6ceb0 100644
--- a/libc/test/src/__support/FPUtil/CMakeLists.txt
+++ b/libc/test/src/__support/FPUtil/CMakeLists.txt
@@ -39,6 +39,12 @@ add_fp_unittest(
     libc.src.__support.FPUtil.rounding_mode
 )
 
+# TODO: Temporally disable bfloat16 test until MPCommon target is updated
+# https://github.com/llvm/llvm-project/pull/149678
+if(LLVM_LIBC_FULL_BUILD)
+  return()
+endif()
+
 add_fp_unittest(
   bfloat16_test
   NEED_MPFR


        


More information about the libc-commits mailing list