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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Shourya Goel (Sh0g0-1758)

<details>
<summary>Changes</summary>

Fix buildbot errors due to #<!-- -->121140

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


2 Files Affected:

- (modified) libc/config/linux/aarch64/entrypoints.txt (+2-1) 
- (modified) libc/config/linux/riscv/entrypoints.txt (+1) 


``````````diff
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

``````````

</details>


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


More information about the libc-commits mailing list