[all-commits] [llvm/llvm-project] 4bcf1e: Update the libc BUILD.bazel file with selects for ...

Brian Ledger via All-commits all-commits at lists.llvm.org
Thu Mar 13 13:19:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4bcf1e61eb840dd02b1f73d9e0e7604fcc1051d9
      https://github.com/llvm/llvm-project/commit/4bcf1e61eb840dd02b1f73d9e0e7604fcc1051d9
  Author: Brian Ledger <bpl29 at cornell.edu>
  Date:   2025-03-13 (Thu, 13 Mar 2025)

  Changed paths:
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  Update the libc BUILD.bazel file with selects for Windows builds. (#131172)

The Windows toolchain needs to build libc targets in order to support
libc++. Currently, some targets fail to resolve, due to non-exhaustive
select statements, not accounting for Windows builds.

This change adds clauses to select statements so that Windows builds can
proceed.

Additionally, `__support_osutil_exit`, is configured to pass nothing to
`srcs` for non-Linux builds. `__support_osutil_exit `is unconditionally
included in the transitive dependencies of `extern_libc_shared`.

---------

Co-authored-by: Brian Ledger <brianpl at google.com>



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