[llvm] [Bazel] Fixes bcc9a55 (PR #195091)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 30 07:13:16 PDT 2026
https://github.com/forking-google-bazel-bot[bot] created https://github.com/llvm/llvm-project/pull/195091
This fixes bcc9a55bdb228661d98444f0d6c74b47ed0426bb.
>From 5240ff9083348ad7d40abfd9a01b27e7badd1437 Mon Sep 17 00:00:00 2001
From: Google Bazel Bot <google-bazel-bot at google.com>
Date: Thu, 30 Apr 2026 14:13:04 +0000
Subject: [PATCH] Fix Bazel build for bcc9a55
---
.../llvm-project-overlay/libc/BUILD.bazel | 42 +++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index a7499edaf0c2a..85b8c64dc284e 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -2020,6 +2020,23 @@ libc_support_library(
],
)
+libc_support_library(
+ name = "__support_osutil_linux_syscall_wrappers_sched_getaffinity",
+ hdrs = ["src/__support/OSUtil/linux/syscall_wrappers/sched_getaffinity.h"],
+ target_compatible_with = select({
+ "@platforms//os:linux": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ deps = [
+ ":__support_common",
+ ":__support_cpp_span",
+ ":__support_error_or",
+ ":__support_macros_config",
+ ":__support_osutil_syscall",
+ ":types_pid_t",
+ ],
+)
+
libc_support_library(
name = "__support_osutil_linux_syscall_wrappers_write",
hdrs = ["src/__support/OSUtil/linux/syscall_wrappers/write.h"],
@@ -2084,6 +2101,29 @@ libc_support_library(
],
)
+libc_support_library(
+ name = "__support_osutil_linux_sysinfo",
+ hdrs = ["src/__support/OSUtil/linux/sysinfo.h"],
+ target_compatible_with = select({
+ "@platforms//os:linux": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ deps = [
+ ":__support_common",
+ ":__support_cpp_array",
+ ":__support_cpp_bit",
+ ":__support_cpp_optional",
+ ":__support_ctype_utils",
+ ":__support_error_or",
+ ":__support_macros_config",
+ ":__support_osutil_linux_syscall_wrappers_close",
+ ":__support_osutil_linux_syscall_wrappers_open",
+ ":__support_osutil_linux_syscall_wrappers_read",
+ ":__support_osutil_linux_syscall_wrappers_sched_getaffinity",
+ ":hdr_errno_macros",
+ ],
+)
+
libc_support_library(
name = "__support_osutil_vdso",
hdrs = [
@@ -11412,7 +11452,9 @@ libc_function(
":__support_libc_errno",
":__support_macros_config",
":__support_osutil_linux_auxv",
+ ":__support_osutil_linux_sysinfo",
":errno",
+ ":hdr_sys_auxv_macros",
":hdr_unistd_macros",
],
)
More information about the llvm-commits
mailing list