[libc-commits] [libc] [libc] Disable bfloat16 test for full build mode (PR #149678)
Mikhail R. Gadelha via libc-commits
libc-commits at lists.llvm.org
Sat Jul 19 14:51:08 PDT 2025
https://github.com/mikhailramalho created https://github.com/llvm/llvm-project/pull/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.
>From ffed7ab85c74fb10580ea440af62dd68e4528217 Mon Sep 17 00:00:00 2001
From: "Mikhail R. Gadelha" <mikhail at igalia.com>
Date: Sat, 19 Jul 2025 18:47:40 -0300
Subject: [PATCH] [libc] Disable bfloat16 test for full build mode
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.
---
libc/test/src/__support/FPUtil/CMakeLists.txt | 4 ++++
1 file changed, 4 insertions(+)
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
More information about the libc-commits
mailing list