[llvm] Fix bazel build issue caused in #166517 (some targets were still failing) (PR #166737)

Karlo Basioli via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 6 02:11:14 PST 2025


https://github.com/basioli-k created https://github.com/llvm/llvm-project/pull/166737

None

>From 44a66ef4318960976fb79facca0dff09ce3202dd Mon Sep 17 00:00:00 2001
From: basioli-k <k.basioli at gmail.com>
Date: Thu, 6 Nov 2025 10:09:50 +0000
Subject: [PATCH] Fix bazel build issue caused in #166517 pt 2

---
 utils/bazel/llvm-project-overlay/libc/BUILD.bazel | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index b11d1464eb035..ecd11b91d0d86 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -5281,6 +5281,7 @@ libc_function(
     hdrs = ["src/stdlib/strfromf.h"],
     deps = [
         ":__support_common",
+        ":printf_error_mapper",
         ":str_from_util",
     ],
 )
@@ -5291,6 +5292,7 @@ libc_function(
     hdrs = ["src/stdlib/strfromd.h"],
     deps = [
         ":__support_common",
+        ":printf_error_mapper",
         ":str_from_util",
     ],
 )
@@ -5301,6 +5303,7 @@ libc_function(
     hdrs = ["src/stdlib/strfroml.h"],
     deps = [
         ":__support_common",
+        ":printf_error_mapper",
         ":str_from_util",
     ],
 )
@@ -6526,12 +6529,12 @@ libc_support_library(
         ],
     }),
     deps = [
-        ":hdr_errno_macros",
-        ":printf_core_structs",
         ":__support_cpp_type_traits",
         ":__support_error_or",
         ":__support_macros_properties_architectures",
-    ]
+        ":hdr_errno_macros",
+        ":printf_core_structs",
+    ],
 )
 
 libc_support_library(



More information about the llvm-commits mailing list