[libc-commits] [libc] [libc] Add struct_sched_param proxy header (PR #151722)

via libc-commits libc-commits at lists.llvm.org
Fri Aug 1 10:25:49 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
----------------
lntue wrote:

It is essentially making sure that if someone has targets using these types, the public `sched.h` is generated in full build mode even if they don't or forget to include that in their list of public headers to be generated.  And ideally, all the generated headers should be done before all the code compilations, but our dependency management is not complete yet, and there are still quite some missing dependency that only show up as flaky tests once in awhile.  Forcing public headers full build dependency is one way for us to mitigate this issue for now.

https://github.com/llvm/llvm-project/pull/151722


More information about the libc-commits mailing list