[libc-commits] [libc] [libc] Add misssing inttypes dependencies (PR #150861)

via libc-commits libc-commits at lists.llvm.org
Sun Jul 27 18:40:33 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Haowei (zeroomega)

<details>
<summary>Changes</summary>

This is a follow up of 9e7999147de757107482d8a2cedab4155a0b6635. It attempts to fix the CI flakes we saw on fuchsia-linux-x64 builder.

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


2 Files Affected:

- (modified) libc/src/stdio/baremetal/CMakeLists.txt (+1) 
- (modified) libc/src/stdio/scanf_core/CMakeLists.txt (+2) 


``````````diff
diff --git a/libc/src/stdio/baremetal/CMakeLists.txt b/libc/src/stdio/baremetal/CMakeLists.txt
index e879230a9d02c..548938f885c94 100644
--- a/libc/src/stdio/baremetal/CMakeLists.txt
+++ b/libc/src/stdio/baremetal/CMakeLists.txt
@@ -72,6 +72,7 @@ add_entrypoint_object(
     ../scanf.h
   DEPENDS
     .scanf_internal
+    libc.include.inttypes
     libc.src.stdio.scanf_core.scanf_main
     libc.src.__support.arg_list
     libc.src.__support.OSUtil.osutil
diff --git a/libc/src/stdio/scanf_core/CMakeLists.txt b/libc/src/stdio/scanf_core/CMakeLists.txt
index dee125c234a10..561180c6100b4 100644
--- a/libc/src/stdio/scanf_core/CMakeLists.txt
+++ b/libc/src/stdio/scanf_core/CMakeLists.txt
@@ -35,6 +35,7 @@ add_header_library(
     core_structs.h
   DEPENDS
     .scanf_config
+    libc.include.inttypes
     libc.src.__support.CPP.string_view
     libc.src.__support.CPP.bitset
     libc.src.__support.FPUtil.fp_bits
@@ -97,6 +98,7 @@ add_header_library(
   DEPENDS
     .reader
     .core_structs
+    libc.include.inttypes
     libc.src.__support.common
     libc.src.__support.ctype_utils
     libc.src.__support.CPP.bitset

``````````

</details>


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


More information about the libc-commits mailing list