[all-commits] [llvm/llvm-project] 90c001: [libc][bazel] Use Bazel aspects to implement libc_...

Alexey Samsonov via All-commits all-commits at lists.llvm.org
Wed Apr 9 15:37:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90c001ac9e1d92a1a95d191d1640ab5337a937e5
      https://github.com/llvm/llvm-project/commit/90c001ac9e1d92a1a95d191d1640ab5337a937e5
  Author: Alexey Samsonov <vonosmas at gmail.com>
  Date:   2025-04-09 (Wed, 09 Apr 2025)

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

  Log Message:
  -----------
  [libc][bazel] Use Bazel aspects to implement libc_release_library. (#134948)

Instead of creating hundreds of implicit "filegroup" targets to keep
track of sources and textual headers required to build each libc
function or helper library, use Bazel aspects (see
https://bazel.build/versions/8.0.0/extending/aspects), which enable
transparent collection of transitive sources / textual headers while
walking the dependency DAG, and minimizes the Starlark overhead.

Co-authored-by: Jordan Rupprecht <rupprecht 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