[libc-commits] [libc] [libc][complex] fix buildbot errors (PR #121141)

Shourya Goel via libc-commits libc-commits at lists.llvm.org
Wed Dec 25 23:27:20 PST 2024


https://github.com/Sh0g0-1758 created https://github.com/llvm/llvm-project/pull/121141

Fix buildbot errors due to #121140

>From 91c17734d6696503d7698a782dc7871e5846c7fb Mon Sep 17 00:00:00 2001
From: Sh0g0-1758 <shouryagoel10000 at gmail.com>
Date: Thu, 26 Dec 2024 12:56:34 +0530
Subject: [PATCH] [libc][complex] fix buildbot errors

---
 libc/config/linux/aarch64/entrypoints.txt | 3 ++-
 libc/config/linux/riscv/entrypoints.txt   | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/libc/config/linux/aarch64/entrypoints.txt b/libc/config/linux/aarch64/entrypoints.txt
index b096b95b9472e3..00f0c6a8bfb8e4 100644
--- a/libc/config/linux/aarch64/entrypoints.txt
+++ b/libc/config/linux/aarch64/entrypoints.txt
@@ -629,7 +629,8 @@ if(LIBC_TYPES_HAS_CFLOAT16)
   )
 endif()
 
-if(LIBC_TYPES_HAS_FLOAT16)    
+if(LIBC_TYPES_HAS_FLOAT16)
+  list(APPEND TARGET_LIBM_ENTRYPOINTS
     # math.h C23 _Float16 entrypoints
     libc.src.math.canonicalizef16
     libc.src.math.ceilf16
diff --git a/libc/config/linux/riscv/entrypoints.txt b/libc/config/linux/riscv/entrypoints.txt
index 643e20ddb34ebe..49a8d61b938027 100644
--- a/libc/config/linux/riscv/entrypoints.txt
+++ b/libc/config/linux/riscv/entrypoints.txt
@@ -631,6 +631,7 @@ if(LIBC_TYPES_HAS_CFLOAT128)
 endif()
 
 if(LIBC_TYPES_HAS_FLOAT128)    
+  list(APPEND TARGET_LIBM_ENTRYPOINTS
     # math.h C23 _Float128 entrypoints
     libc.src.math.canonicalizef128
     libc.src.math.ceilf128



More information about the libc-commits mailing list