[llvm] [bazel] Update tblgen rules to support path-mapping (PR #158354)

Keith Smiley via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 15 09:13:39 PDT 2025


keith wrote:

> It is, but the old behavior can be restored w/ some `--incompatible` flags. It's a trivial fix though: add `output_to_bindir = 1` to any genrule which generates a `.td` file. See #158669 for the one fix needed in LLVM for this.

I don't think that should matter for this case then, since all the files are collected from other ctx.actions.run calls, so I think it would only hit if a td input file was produced by a filegroup, which I don't see any cases of today

https://github.com/llvm/llvm-project/pull/158354


More information about the llvm-commits mailing list