[libc-commits] [libc] [libc] Add missing dependencies on `getc` and `ungetc` for GPU (PR #128069)
via libc-commits
libc-commits at lists.llvm.org
Thu Feb 20 13:10:56 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Joseph Huber (jhuber6)
<details>
<summary>Changes</summary>
Summary:
These are required because we don't use the `file` interface.
---
Full diff: https://github.com/llvm/llvm-project/pull/128069.diff
1 Files Affected:
- (modified) libc/src/stdio/scanf_core/CMakeLists.txt (+2)
``````````diff
diff --git a/libc/src/stdio/scanf_core/CMakeLists.txt b/libc/src/stdio/scanf_core/CMakeLists.txt
index 35b8b3d318a9f..96e0e1400cb6a 100644
--- a/libc/src/stdio/scanf_core/CMakeLists.txt
+++ b/libc/src/stdio/scanf_core/CMakeLists.txt
@@ -61,6 +61,8 @@ add_header_library(
reader.h
DEPENDS
libc.src.__support.macros.attributes
+ libc.src.stdio.getc
+ libc.src.stdio.ungetc
)
elseif((TARGET libc.src.__support.File.file) OR (NOT LLVM_LIBC_FULL_BUILD))
add_header_library(
``````````
</details>
https://github.com/llvm/llvm-project/pull/128069
More information about the libc-commits
mailing list