[libc-commits] [libc] [libc][CMake] Add dependency on libc.include.elf for elf_proxy target (PR #176557)

via libc-commits libc-commits at lists.llvm.org
Sat Jan 17 03:39:33 PST 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Jeff Bailey (kaladron)

<details>
<summary>Changes</summary>

Fixes parallel build problem for check-libc target where headers are generated after they are needed.  I think this was likely caused by https://github.com/llvm/llvm-project/pull/172766.

---
Full diff: https://github.com/llvm/llvm-project/pull/176557.diff


1 Files Affected:

- (modified) libc/hdr/CMakeLists.txt (+1) 


``````````diff
diff --git a/libc/hdr/CMakeLists.txt b/libc/hdr/CMakeLists.txt
index fec38b3caca4e..0e54c0c15066b 100644
--- a/libc/hdr/CMakeLists.txt
+++ b/libc/hdr/CMakeLists.txt
@@ -274,6 +274,7 @@ add_gen_header(
     elf_proxy.h
   DEPENDS
     libc.include.llvm_libc_common_h
+    libc.include.elf
   PROXY
 )
 

``````````

</details>


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


More information about the libc-commits mailing list