Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libc][bazel] fix scanf after #131043 #132305

Merged
merged 1 commit into from
Mar 21, 2025

Conversation

michaelrj-google
Copy link
Contributor

The scanf and fscanf implementations were moved into /generic, update
the bazel targets.

The scanf and fscanf implementations were moved into /generic, update
the bazel targets.
@llvmbot llvmbot added libc bazel "Peripheral" support tier build system: utils/bazel labels Mar 20, 2025
@llvmbot
Copy link
Member

llvmbot commented Mar 20, 2025

@llvm/pr-subscribers-libc

Author: Michael Jones (michaelrj-google)

Changes

The scanf and fscanf implementations were moved into /generic, update
the bazel targets.


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

1 Files Affected:

  • (modified) utils/bazel/llvm-project-overlay/libc/BUILD.bazel (+4-4)
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index 1bf884a785e64..8ed61d93952cc 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -5203,7 +5203,7 @@ libc_support_library(
 
 libc_function(
     name = "scanf",
-    srcs = ["src/stdio/scanf.cpp"],
+    srcs = ["src/stdio/generic/scanf.cpp"],
     hdrs = ["src/stdio/scanf.h"],
     deps = [
         ":__support_arg_list",
@@ -5215,7 +5215,7 @@ libc_function(
 
 libc_function(
     name = "vscanf",
-    srcs = ["src/stdio/vscanf.cpp"],
+    srcs = ["src/stdio/generic/vscanf.cpp"],
     hdrs = ["src/stdio/vscanf.h"],
     deps = [
         ":__support_arg_list",
@@ -5227,7 +5227,7 @@ libc_function(
 
 libc_function(
     name = "fscanf",
-    srcs = ["src/stdio/fscanf.cpp"],
+    srcs = ["src/stdio/generic/fscanf.cpp"],
     hdrs = ["src/stdio/fscanf.h"],
     deps = [
         ":__support_arg_list",
@@ -5239,7 +5239,7 @@ libc_function(
 
 libc_function(
     name = "vfscanf",
-    srcs = ["src/stdio/vfscanf.cpp"],
+    srcs = ["src/stdio/generic/vfscanf.cpp"],
     hdrs = ["src/stdio/vfscanf.h"],
     deps = [
         ":__support_arg_list",

@michaelrj-google michaelrj-google merged commit fe6bced into llvm:main Mar 21, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bazel "Peripheral" support tier build system: utils/bazel libc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants