[llvm] [libc] add errno_macro header to bazel build (PR #92044)
via llvm-commits
llvm-commits at lists.llvm.org
Mon May 13 16:03:05 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Michael Jones (michaelrj-google)
<details>
<summary>Changes</summary>
Patch #<!-- -->91150 added a proxy header for errno macros. This patch fixes the
bazel build since it needs to be added as a dependency.
---
Full diff: https://github.com/llvm/llvm-project/pull/92044.diff
1 Files Affected:
- (modified) utils/bazel/llvm-project-overlay/libc/BUILD.bazel (+6)
``````````diff
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",
],
)
``````````
</details>
https://github.com/llvm/llvm-project/pull/92044
More information about the llvm-commits
mailing list