[llvm] [Bazel] Fixes 639c5a0 (PR #205273)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 00:14:36 PDT 2026


https://github.com/forking-google-bazel-bot[bot] created https://github.com/llvm/llvm-project/pull/205273

This fixes 639c5a014fad13c683b01c66a1474b7aa47ce7ee.



>From 443a86b23b3e1d2ba67ca58a7b56771e7b7556f5 Mon Sep 17 00:00:00 2001
From: Google Bazel Bot <google-bazel-bot at google.com>
Date: Tue, 23 Jun 2026 07:14:24 +0000
Subject: [PATCH] Fix Bazel build for 639c5a0

---
 .../bazel/llvm-project-overlay/libc/BUILD.bazel | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index fd71a06b382d8..7850eaaff3ba7 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -1605,6 +1605,22 @@ libc_support_library(
     ],
 )
 
+libc_support_library(
+    name = "__support_osutil_linux_syscall_wrappers_ioctl",
+    hdrs = ["src/__support/OSUtil/linux/syscall_wrappers/ioctl.h"],
+    target_compatible_with = select({
+        "@platforms//os:linux": [],
+        "//conditions:default": ["@platforms//:incompatible"],
+    }),
+    deps = [
+        ":__support_cpp_type_traits",
+        ":__support_error_or",
+        ":__support_macros_attributes",
+        ":__support_macros_config",
+        ":__support_osutil_syscall",
+    ],
+)
+
 libc_support_library(
     name = "__support_osutil_linux_syscall_wrappers_dup",
     hdrs = ["src/__support/OSUtil/linux/syscall_wrappers/dup.h"],
@@ -14435,6 +14451,7 @@ libc_function(
         ":__support_common",
         ":__support_libc_errno",
         ":__support_macros_config",
+        ":__support_osutil_linux_syscall_wrappers_ioctl",
         ":__support_osutil_syscall",
         ":errno",
         ":hdr_unistd_macros",



More information about the llvm-commits mailing list