[all-commits] [llvm/llvm-project] 1d81df: [libc][bazel] Allow building llvm_libc_types_float...

Alexey Samsonov via All-commits all-commits at lists.llvm.org
Fri Jul 25 14:27:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d81dfaa8f1c9602267c82ca51c6f5b9cf9688de
      https://github.com/llvm/llvm-project/commit/1d81dfaa8f1c9602267c82ca51c6f5b9cf9688de
  Author: Alexey Samsonov <vonosmas at gmail.com>
  Date:   2025-07-25 (Fri, 25 Jul 2025)

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

  Log Message:
  -----------
  [libc][bazel] Allow building llvm_libc_types_float128 on Windows. (#150704)

This target was marked as Linux-only in
51a4ab287f43c129dd531867be880480a85ecb1e to make "bazel build
@llvm-project//libc/..." clean (which it still is).

There's nothing Linux-specific about this header library, we just use
"target_incompatible_with" clause here to ensure that all libc functions
for float128 types won't be built on Mac, in lieu of a better exclusion
mechanism in Bazel.

However, since llvm_libc_types_float128 is now a transitive dependency
of ":libcxx_shared_headers" used for hand-in-hand code sharing with
libc++, we may need to build this target even on platforms that don't
have float128.

Fow now, mark this target Windows-compatible to unlock the downstream
Windows Bazel build of ":libcxx_shared_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