[all-commits] [llvm/llvm-project] d724ba: [libc][bazel] Create a libc_header_library macro f...

Alexey Samsonov via All-commits all-commits at lists.llvm.org
Wed Mar 26 14:11:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d724bab8064685c98cdded88157b6e2245e0d7bc
      https://github.com/llvm/llvm-project/commit/d724bab8064685c98cdded88157b6e2245e0d7bc
  Author: Alexey Samsonov <vonosmas at gmail.com>
  Date:   2025-03-26 (Wed, 26 Mar 2025)

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

  Log Message:
  -----------
  [libc][bazel] Create a libc_header_library macro for hand-in-hand. (#133131)

Create a proper way to build header-only libraries for llvm-libc code
sharing. Use it to group headers that can be shared with libcxx for
std::from_chars() implementation.

It mostly works, though the macro needs to be updated to enforce that no
.cpp files are listed in dependencies (it's not the case now) - see PR
#133126.



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