[llvm] [libc] add errno_macro header to bazel build (PR #92044)
Michael Jones via llvm-commits
llvm-commits at lists.llvm.org
Mon May 13 16:02:34 PDT 2024
https://github.com/michaelrj-google created https://github.com/llvm/llvm-project/pull/92044
Patch #91150 added a proxy header for errno macros. This patch fixes the
bazel build since it needs to be added as a dependency.
>From 1eb314c82b789a2a01eaa9cc6888dbde94042784 Mon Sep 17 00:00:00 2001
From: Michael Jones <michaelrj at google.com>
Date: Mon, 13 May 2024 16:01:09 -0700
Subject: [PATCH] [libc] add errno_macro header to bazel build
Patch #91150 added a proxy header for errno macros. This patch fixes the
bazel build since it needs to be added as a dependency.
---
utils/bazel/llvm-project-overlay/libc/BUILD.bazel | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index 6255ac998db10..ce61c432c2ed2 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -117,6 +117,11 @@ libc_support_library(
hdrs = ["hdr/sys_epoll_macros.h"],
)
+libc_support_library(
+ name = "hdr_errno_macros",
+ hdrs = ["hdr/errno_macros.h"],
+)
+
############################ Type Proxy Header Files ###########################
libc_support_library(
@@ -1144,6 +1149,7 @@ libc_function(
":__support_common",
":__support_macros_attributes",
":__support_macros_properties_architectures",
+ ":hdr_errno_macros",
],
)
More information about the llvm-commits
mailing list