Skip to content

Conversation

zeroomega
Copy link
Contributor

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

This is a follow up of 9e79991.
It attempts to fix the CI flakes we saw on fuchsia-linux-x64 builder.
@zeroomega zeroomega requested a review from lntue July 28, 2025 01:39
@llvmbot llvmbot added the libc label Jul 28, 2025
@llvmbot
Copy link
Member

llvmbot commented Jul 28, 2025

@llvm/pr-subscribers-libc

Author: Haowei (zeroomega)

Changes

This is a follow up of 9e79991. 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 --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

@zeroomega zeroomega merged commit eb04b69 into llvm:main Jul 28, 2025
16 of 21 checks passed
mahesh-attarde pushed a commit to mahesh-attarde/llvm-project that referenced this pull request Jul 28, 2025
This is a follow up of 9e79991. It
attempts to fix the CI flakes we saw on fuchsia-linux-x64 builder.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants