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

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


Author: Haowei
Date: 2025-07-27T18:57:04-07:00
New Revision: eb04b699e9df89c493da2986c29aa6f553cc85b6

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

LOG: [libc] Add misssing inttypes dependencies (#150861)

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

Added: 
    

Modified: 
    libc/src/stdio/baremetal/CMakeLists.txt
    libc/src/stdio/scanf_core/CMakeLists.txt

Removed: 
    


################################################################################
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


        


More information about the libc-commits mailing list