[llvm] [Bazel] Fixes 7591910 (PR #205377)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 23 09:37:25 PDT 2026
https://github.com/forking-google-bazel-bot[bot] created https://github.com/llvm/llvm-project/pull/205377
This fixes 759191045115d966dffc99901e9086289767ff5c.
>From 5d46d34f1599a12453ff763b400b2359d9f3c653 Mon Sep 17 00:00:00 2001
From: Google Bazel Bot <google-bazel-bot at google.com>
Date: Tue, 23 Jun 2026 16:37:14 +0000
Subject: [PATCH] Fix Bazel build for 7591910
---
.../llvm-project-overlay/libc/BUILD.bazel | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index fd71a06b382d8..4a6df7f43f39c 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -14427,6 +14427,23 @@ libc_function(
# ],
# )
+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_common",
+ ":__support_cpp_type_traits",
+ ":__support_error_or",
+ ":__support_macros_attributes",
+ ":__support_macros_config",
+ ":__support_osutil_syscall",
+ ],
+)
+
libc_function(
name = "isatty",
srcs = ["src/unistd/linux/isatty.cpp"],
@@ -14435,6 +14452,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