[libc-commits] [libc] [libc]: fix missing `linux/error-number-macros.h` (PR #97101)
via libc-commits
libc-commits at lists.llvm.org
Fri Jun 28 12:42:37 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Izaak Schroeder (izaakschroeder)
<details>
<summary>Changes</summary>
The headers installation previously missed platform-specific number macros, and this fixes that. From discussion on LLVM discord with `michaelrj` – ccing @<!-- -->michaelrj-google who hopefully is the same person 😅
N.B. I have tested this manually in my Linux Dockerfile and it appears to do the right thing; I haven't done much more than that.
---
Full diff: https://github.com/llvm/llvm-project/pull/97101.diff
1 Files Affected:
- (modified) libc/include/CMakeLists.txt (+1)
``````````diff
diff --git a/libc/include/CMakeLists.txt b/libc/include/CMakeLists.txt
index 2ce8423ae4d9b..3ab7817d8568b 100644
--- a/libc/include/CMakeLists.txt
+++ b/libc/include/CMakeLists.txt
@@ -223,6 +223,7 @@ add_gen_header(
GEN_HDR errno.h
DEPENDS
.llvm-libc-macros.generic_error_number_macros
+ .llvm-libc-macros.error_number_macros
)
add_gen_header(
``````````
</details>
https://github.com/llvm/llvm-project/pull/97101
More information about the libc-commits
mailing list