[libc-commits] [libc] [libc] Add struct_sched_param proxy header (PR #151722)
Aiden Grossman via libc-commits
libc-commits at lists.llvm.org
Fri Aug 1 10:11:37 PDT 2025
================
@@ -451,3 +451,11 @@ add_proxy_header_library(
libc.include.llvm-libc-types.ACTION
libc.include.search
)
+
+add_proxy_header_library(
+ struct_sched_param
+ HDRS
+ struct_sched_param.h
+ FULL_BUILD_DEPENDS
+ libc.include.llvm-libc-types.struct_sched_param
----------------
boomanaiden154 wrote:
I'm confused now.
How would it bring in the generated `sched.h` header in full build mode? I thought the point of proxy headers was that you did not need to pull in the generated header.
I also don't understand how this is needed for build ordering. The headergen generated header shouldn't be needed until you actually want to use the libc given all of the definitions you'd normally need are in the proxy headers.
https://github.com/llvm/llvm-project/pull/151722
More information about the libc-commits
mailing list