[libc-commits] [libc] 74852bf - [libc]: fix missing `linux/error-number-macros.h` (#97101)
via libc-commits
libc-commits at lists.llvm.org
Fri Jun 28 12:55:28 PDT 2024
Author: Izaak Schroeder
Date: 2024-06-28T14:55:25-05:00
New Revision: 74852bfa4cfd3fcbc3b8846c7bc19cbb712107b7
URL: https://github.com/llvm/llvm-project/commit/74852bfa4cfd3fcbc3b8846c7bc19cbb712107b7
DIFF: https://github.com/llvm/llvm-project/commit/74852bfa4cfd3fcbc3b8846c7bc19cbb712107b7.diff
LOG: [libc]: fix missing `linux/error-number-macros.h` (#97101)
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.
Added:
Modified:
libc/include/CMakeLists.txt
Removed:
################################################################################
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(
More information about the libc-commits
mailing list