[all-commits] [llvm/llvm-project] 48a99a: [libc] Add llvm-libc-types header deps for <comple...

Simon Tatham via All-commits all-commits at lists.llvm.org
Tue Oct 21 07:48:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 48a99ad1fa8b3fe7c0f23f02e95e6c23e145429d
      https://github.com/llvm/llvm-project/commit/48a99ad1fa8b3fe7c0f23f02e95e6c23e145429d
  Author: Simon Tatham <simon.tatham at arm.com>
  Date:   2025-10-21 (Tue, 21 Oct 2025)

  Changed paths:
    M libc/include/CMakeLists.txt

  Log Message:
  -----------
  [libc] Add llvm-libc-types header deps for <complex.h>. (#164422)

complex.yaml declares types cfloat16, cfloat128 and float128 in its
'types' section, causing the output complex.h to #include three headers
with names of the form "llvm-libc-types/cfloat16.h". But
include/CMakeLists.txt doesn't mention those types as dependencies in
the `add_header_macro` call for complex.h. As a result, cfloat16.h and
cfloat128.h are not installed by the 'install' target, but complex.h
still tries to to include them.

The third type header, float128.h, doesn't have this problem because the
`add_header_macro` math.h does mention it as a dependency. So I've added
all three headers as dependencies in complex.h, following the same
pattern, and now the install target installs the missing two headers.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list