[all-commits] [llvm/llvm-project] 3b5433: Replace `exec_tools` with `tools` in bazel genrule...

denglesberg-splunk via All-commits all-commits at lists.llvm.org
Fri Jan 19 00:13:06 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3b54337be54107a5f196bb98dfc858b10ec35b8a
      https://github.com/llvm/llvm-project/commit/3b54337be54107a5f196bb98dfc858b10ec35b8a
  Author: denglesberg-splunk <125308860+denglesberg-splunk at users.noreply.github.com>
  Date:   2024-01-19 (Fri, 19 Jan 2024)

  Changed paths:
    M utils/bazel/llvm-project-overlay/clang-tools-extra/clang-tidy/BUILD.bazel

  Log Message:
  -----------
  Replace `exec_tools` with `tools` in bazel genrule. (#77510)

As of the Bazel 6.x series, there is no difference between the
`exec_tools` and `tools`. Bazel 7 removes the `exec_tools` attribute
entirely. This commit updates to use the cannonical attribute name to
allow building `clang-tidy``with bazel 7.0.0, though it does not change
the default bazel version which remains at 6.1.2.

See also https://github.com/bazelbuild/bazel/issues/19132 for more
information.




More information about the All-commits mailing list