[llvm] [Bazel] Fixes 1b38e21 (PR #196524)
via llvm-commits
llvm-commits at lists.llvm.org
Fri May 8 05:45:17 PDT 2026
https://github.com/forking-google-bazel-bot[bot] created https://github.com/llvm/llvm-project/pull/196524
This fixes 1b38e21077dc469b0c67360440e4d19710ef053e.
>From bd34a25c2fb47896fc95e86df6eb8cb3fb58e5b2 Mon Sep 17 00:00:00 2001
From: Google Bazel Bot <google-bazel-bot at google.com>
Date: Fri, 8 May 2026 12:45:07 +0000
Subject: [PATCH] Fix Bazel build for 1b38e21
---
.../llvm-project-overlay/libc/BUILD.bazel | 233 +++++++++++++++++-
1 file changed, 226 insertions(+), 7 deletions(-)
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index 3457e51a9cdd0..1143fb6f681ad 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -1483,7 +1483,6 @@ libc_support_library(
],
hdrs = [
"src/__support/File/linux/file.h",
- "src/__support/File/linux/lseekImpl.h",
],
deps = [
":__support_alloc_checker",
@@ -1494,6 +1493,7 @@ libc_support_library(
":__support_libc_errno",
":__support_macros_config",
":__support_osutil_fcntl",
+ ":__support_osutil_linux_syscall_wrappers_lseek",
":__support_osutil_syscall",
":hdr_fcntl_macros",
":hdr_stdint_proxy",
@@ -1517,17 +1517,223 @@ libc_support_library(
)
libc_support_library(
- name = "__support_file_linux_lseekimpl",
- hdrs = ["src/__support/File/linux/lseekImpl.h"],
+ name = "__support_osutil_linux_syscall_wrappers_chdir",
+ hdrs = ["src/__support/OSUtil/linux/syscall_wrappers/chdir.h"],
+ target_compatible_with = select({
+ "@platforms//os:linux": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ deps = [
+ ":__support_common",
+ ":__support_error_or",
+ ":__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"],
+ target_compatible_with = select({
+ "@platforms//os:linux": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ deps = [
+ ":__support_common",
+ ":__support_error_or",
+ ":__support_macros_config",
+ ":__support_osutil_syscall",
+ ],
+)
+
+libc_support_library(
+ name = "__support_osutil_linux_syscall_wrappers_dup2",
+ hdrs = ["src/__support/OSUtil/linux/syscall_wrappers/dup2.h"],
+ target_compatible_with = select({
+ "@platforms//os:linux": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ deps = [
+ ":__support_common",
+ ":__support_error_or",
+ ":__support_macros_config",
+ ":__support_osutil_syscall",
+ ":hdr_fcntl_macros",
+ ],
+)
+
+libc_support_library(
+ name = "__support_osutil_linux_syscall_wrappers_dup3",
+ hdrs = ["src/__support/OSUtil/linux/syscall_wrappers/dup3.h"],
+ target_compatible_with = select({
+ "@platforms//os:linux": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ deps = [
+ ":__support_common",
+ ":__support_error_or",
+ ":__support_macros_config",
+ ":__support_osutil_syscall",
+ ],
+)
+
+libc_support_library(
+ name = "__support_osutil_linux_syscall_wrappers_fchdir",
+ hdrs = ["src/__support/OSUtil/linux/syscall_wrappers/fchdir.h"],
+ target_compatible_with = select({
+ "@platforms//os:linux": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ deps = [
+ ":__support_common",
+ ":__support_error_or",
+ ":__support_macros_config",
+ ":__support_osutil_syscall",
+ ],
+)
+
+libc_support_library(
+ name = "__support_osutil_linux_syscall_wrappers_fsync",
+ hdrs = ["src/__support/OSUtil/linux/syscall_wrappers/fsync.h"],
+ target_compatible_with = select({
+ "@platforms//os:linux": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ deps = [
+ ":__support_common",
+ ":__support_error_or",
+ ":__support_macros_config",
+ ":__support_osutil_syscall",
+ ],
+)
+
+libc_support_library(
+ name = "__support_osutil_linux_syscall_wrappers_readlink",
+ hdrs = ["src/__support/OSUtil/linux/syscall_wrappers/readlink.h"],
+ target_compatible_with = select({
+ "@platforms//os:linux": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ deps = [
+ ":__support_common",
+ ":__support_error_or",
+ ":__support_macros_config",
+ ":__support_osutil_syscall",
+ ":hdr_fcntl_macros",
+ ":types_ssize_t",
+ ],
+)
+
+libc_support_library(
+ name = "__support_osutil_linux_syscall_wrappers_readlinkat",
+ hdrs = ["src/__support/OSUtil/linux/syscall_wrappers/readlinkat.h"],
+ target_compatible_with = select({
+ "@platforms//os:linux": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ deps = [
+ ":__support_common",
+ ":__support_error_or",
+ ":__support_macros_config",
+ ":__support_osutil_syscall",
+ ":hdr_fcntl_macros",
+ ":types_ssize_t",
+ ],
+)
+
+libc_support_library(
+ name = "__support_osutil_linux_syscall_wrappers_rename",
+ hdrs = ["src/__support/OSUtil/linux/syscall_wrappers/rename.h"],
+ target_compatible_with = select({
+ "@platforms//os:linux": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ deps = [
+ ":__support_common",
+ ":__support_error_or",
+ ":__support_macros_config",
+ ":__support_osutil_syscall",
+ ":hdr_fcntl_macros",
+ ],
+)
+
+libc_support_library(
+ name = "__support_osutil_linux_syscall_wrappers_rmdir",
+ hdrs = ["src/__support/OSUtil/linux/syscall_wrappers/rmdir.h"],
+ target_compatible_with = select({
+ "@platforms//os:linux": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ deps = [
+ ":__support_common",
+ ":__support_error_or",
+ ":__support_macros_config",
+ ":__support_osutil_syscall",
+ ":hdr_fcntl_macros",
+ ],
+)
+
+libc_support_library(
+ name = "__support_osutil_linux_syscall_wrappers_unlink",
+ hdrs = ["src/__support/OSUtil/linux/syscall_wrappers/unlink.h"],
+ target_compatible_with = select({
+ "@platforms//os:linux": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ deps = [
+ ":__support_common",
+ ":__support_error_or",
+ ":__support_macros_config",
+ ":__support_osutil_syscall",
+ ":hdr_fcntl_macros",
+ ],
+)
+
+libc_support_library(
+ name = "__support_osutil_linux_syscall_wrappers_unlinkat",
+ hdrs = ["src/__support/OSUtil/linux/syscall_wrappers/unlinkat.h"],
+ target_compatible_with = select({
+ "@platforms//os:linux": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ deps = [
+ ":__support_common",
+ ":__support_error_or",
+ ":__support_macros_config",
+ ":__support_osutil_syscall",
+ ":hdr_fcntl_macros",
+ ],
+)
+
+libc_support_library(
+ name = "__support_osutil_linux_syscall_wrappers_access",
+ hdrs = ["src/__support/OSUtil/linux/syscall_wrappers/access.h"],
+ target_compatible_with = select({
+ "@platforms//os:linux": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
+ deps = [
+ ":__support_common",
+ ":__support_error_or",
+ ":__support_macros_config",
+ ":__support_osutil_syscall",
+ ":hdr_fcntl_macros",
+ ],
+)
+
+libc_support_library(
+ name = "__support_osutil_linux_syscall_wrappers_lseek",
+ hdrs = ["src/__support/OSUtil/linux/syscall_wrappers/lseek.h"],
+ target_compatible_with = select({
+ "@platforms//os:linux": [],
+ "//conditions:default": ["@platforms//:incompatible"],
+ }),
deps = [
":__support_common",
":__support_error_or",
- ":__support_libc_errno",
":__support_macros_config",
":__support_osutil_syscall",
- ":errno",
":hdr_stdint_proxy",
- ":hdr_stdio_overlay",
":types_off_t",
],
)
@@ -13553,6 +13759,7 @@ libc_function(
":__support_common",
":__support_libc_errno",
":__support_macros_config",
+ ":__support_osutil_linux_syscall_wrappers_access",
":__support_osutil_syscall",
":errno",
":hdr_fcntl_macros",
@@ -13567,6 +13774,7 @@ libc_function(
":__support_common",
":__support_libc_errno",
":__support_macros_config",
+ ":__support_osutil_linux_syscall_wrappers_chdir",
":__support_osutil_syscall",
":errno",
],
@@ -13593,6 +13801,7 @@ libc_function(
":__support_common",
":__support_libc_errno",
":__support_macros_config",
+ ":__support_osutil_linux_syscall_wrappers_dup",
":__support_osutil_syscall",
":errno",
":hdr_unistd_macros",
@@ -13607,6 +13816,7 @@ libc_function(
":__support_common",
":__support_libc_errno",
":__support_macros_config",
+ ":__support_osutil_linux_syscall_wrappers_dup2",
":__support_osutil_syscall",
":errno",
":hdr_fcntl_macros",
@@ -13626,6 +13836,7 @@ libc_function(
":__support_common",
":__support_libc_errno",
":__support_macros_config",
+ ":__support_osutil_linux_syscall_wrappers_dup3",
":__support_osutil_syscall",
":errno",
":hdr_unistd_macros",
@@ -13652,6 +13863,7 @@ libc_function(
":__support_common",
":__support_libc_errno",
":__support_macros_config",
+ ":__support_osutil_linux_syscall_wrappers_fchdir",
":__support_osutil_syscall",
":errno",
],
@@ -13665,6 +13877,7 @@ libc_function(
":__support_common",
":__support_libc_errno",
":__support_macros_config",
+ ":__support_osutil_linux_syscall_wrappers_fsync",
":__support_osutil_syscall",
":errno",
],
@@ -13832,9 +14045,9 @@ libc_function(
hdrs = ["src/unistd/lseek.h"],
deps = [
":__support_common",
- ":__support_file_linux_lseekimpl",
":__support_libc_errno",
":__support_macros_config",
+ ":__support_osutil_linux_syscall_wrappers_lseek",
":__support_osutil_syscall",
":errno",
":hdr_unistd_macros",
@@ -13912,6 +14125,7 @@ libc_function(
":__support_common",
":__support_libc_errno",
":__support_macros_config",
+ ":__support_osutil_linux_syscall_wrappers_readlink",
":__support_osutil_syscall",
":errno",
":hdr_fcntl_macros",
@@ -13929,6 +14143,7 @@ libc_function(
":__support_common",
":__support_libc_errno",
":__support_macros_config",
+ ":__support_osutil_linux_syscall_wrappers_readlinkat",
":__support_osutil_syscall",
":errno",
":hdr_fcntl_macros",
@@ -13946,6 +14161,7 @@ libc_function(
":__support_common",
":__support_libc_errno",
":__support_macros_config",
+ ":__support_osutil_linux_syscall_wrappers_rmdir",
":__support_osutil_syscall",
":errno",
":hdr_fcntl_macros",
@@ -14035,6 +14251,7 @@ libc_function(
":__support_common",
":__support_libc_errno",
":__support_macros_config",
+ ":__support_osutil_linux_syscall_wrappers_unlink",
":__support_osutil_syscall",
":errno",
":hdr_fcntl_macros",
@@ -14049,6 +14266,7 @@ libc_function(
":__support_common",
":__support_libc_errno",
":__support_macros_config",
+ ":__support_osutil_linux_syscall_wrappers_unlinkat",
":__support_osutil_syscall",
":errno",
":hdr_fcntl_macros",
@@ -14676,6 +14894,7 @@ libc_function(
":__support_common",
":__support_libc_errno",
":__support_macros_config",
+ ":__support_osutil_linux_syscall_wrappers_rename",
":__support_osutil_syscall",
":errno",
":hdr_fcntl_macros",
More information about the llvm-commits
mailing list