[all-commits] [llvm/llvm-project] c2da01: [libc][bazel] Add missing hdr/*_macros deps to tes...

David Young via All-commits all-commits at lists.llvm.org
Wed Jul 15 06:58:46 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2da010159cc318b5fdba4a1fc7deef9438e749d
      https://github.com/llvm/llvm-project/commit/c2da010159cc318b5fdba4a1fc7deef9438e749d
  Author: David Young <davidayoung at meta.com>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M utils/bazel/llvm-project-overlay/libc/test/src/string/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/test/src/sys/mman/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/test/src/sys/resource/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/test/src/sys/socket/BUILD.bazel
    M utils/bazel/llvm-project-overlay/libc/test/src/unistd/BUILD.bazel

  Log Message:
  -----------
  [libc][bazel] Add missing hdr/*_macros deps to test targets (#209761)

Commit b790c5cd2679 (#209449) switched several libc tests to include the
hdr/*_macros.h proxy headers and updated the CMake build accordingly,
but did not update the Bazel overlay. As a result, the Bazel libc test
targets include hdr/*_macros.h (and, via shared headers,
hdr/sys_mman_macros.h) without declaring the corresponding
//libc:hdr_*_macros dependencies, breaking the Bazel build with 'file
not found' / module layering errors.

Mirror the CMake dependency additions into the Bazel overlay so each
test target that includes an hdr macro header depends on the matching
//libc:hdr_*_macros (and //libc:types_struct_rlimit) target.

First found trying to land (#209747).

bazel changes assisted with: claude

cannot build with bazel locally so relying on CI to confirm green



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