[libc-commits] [libc] 1a20818 - [libc][CMake] Add dependency on ELF headers for elf_proxy target (#176557)
via libc-commits
libc-commits at lists.llvm.org
Sat Jan 17 09:46:47 PST 2026
Author: Jeff Bailey
Date: 2026-01-17T17:46:42Z
New Revision: 1a208185b99e7352e41ac9d249a285f15421796d
URL: https://github.com/llvm/llvm-project/commit/1a208185b99e7352e41ac9d249a285f15421796d
DIFF: https://github.com/llvm/llvm-project/commit/1a208185b99e7352e41ac9d249a285f15421796d.diff
LOG: [libc][CMake] Add dependency on ELF headers for elf_proxy target (#176557)
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.
Added:
Modified:
libc/hdr/CMakeLists.txt
Removed:
################################################################################
diff --git a/libc/hdr/CMakeLists.txt b/libc/hdr/CMakeLists.txt
index fec38b3caca4e..1d78454ba9ffb 100644
--- a/libc/hdr/CMakeLists.txt
+++ b/libc/hdr/CMakeLists.txt
@@ -274,6 +274,48 @@ add_gen_header(
elf_proxy.h
DEPENDS
libc.include.llvm_libc_common_h
+ libc.include.llvm-libc-types.Elf32_Addr
+ libc.include.llvm-libc-types.Elf32_Chdr
+ libc.include.llvm-libc-types.Elf32_Dyn
+ libc.include.llvm-libc-types.Elf32_Ehdr
+ libc.include.llvm-libc-types.Elf32_Half
+ libc.include.llvm-libc-types.Elf32_Lword
+ libc.include.llvm-libc-types.Elf32_Nhdr
+ libc.include.llvm-libc-types.Elf32_Off
+ libc.include.llvm-libc-types.Elf32_Phdr
+ libc.include.llvm-libc-types.Elf32_Rel
+ libc.include.llvm-libc-types.Elf32_Rela
+ libc.include.llvm-libc-types.Elf32_Shdr
+ libc.include.llvm-libc-types.Elf32_Sword
+ libc.include.llvm-libc-types.Elf32_Sym
+ libc.include.llvm-libc-types.Elf32_Verdaux
+ libc.include.llvm-libc-types.Elf32_Verdef
+ libc.include.llvm-libc-types.Elf32_Vernaux
+ libc.include.llvm-libc-types.Elf32_Verneed
+ libc.include.llvm-libc-types.Elf32_Versym
+ libc.include.llvm-libc-types.Elf32_Word
+ libc.include.llvm-libc-types.Elf64_Addr
+ libc.include.llvm-libc-types.Elf64_Chdr
+ libc.include.llvm-libc-types.Elf64_Dyn
+ libc.include.llvm-libc-types.Elf64_Ehdr
+ libc.include.llvm-libc-types.Elf64_Half
+ libc.include.llvm-libc-types.Elf64_Lword
+ libc.include.llvm-libc-types.Elf64_Nhdr
+ libc.include.llvm-libc-types.Elf64_Off
+ libc.include.llvm-libc-types.Elf64_Phdr
+ libc.include.llvm-libc-types.Elf64_Rel
+ libc.include.llvm-libc-types.Elf64_Rela
+ libc.include.llvm-libc-types.Elf64_Shdr
+ libc.include.llvm-libc-types.Elf64_Sword
+ libc.include.llvm-libc-types.Elf64_Sxword
+ libc.include.llvm-libc-types.Elf64_Sym
+ libc.include.llvm-libc-types.Elf64_Verdaux
+ libc.include.llvm-libc-types.Elf64_Verdef
+ libc.include.llvm-libc-types.Elf64_Vernaux
+ libc.include.llvm-libc-types.Elf64_Verneed
+ libc.include.llvm-libc-types.Elf64_Versym
+ libc.include.llvm-libc-types.Elf64_Word
+ libc.include.llvm-libc-types.Elf64_Xword
PROXY
)
More information about the libc-commits
mailing list