diff options
author | Shoaib Meenai <smeenai@fb.com> | 2025-04-29 12:13:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-29 12:13:38 -0700 |
commit | 705ceff7c1fc328151a6506a91773aac429ccee3 (patch) | |
tree | becf470180ab8242f9932a961e0f723312b4149a /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | 0864e3c8a9335db0d9c8c32f059a3d0c3f01c534 (diff) | |
download | llvm-705ceff7c1fc328151a6506a91773aac429ccee3.zip llvm-705ceff7c1fc328151a6506a91773aac429ccee3.tar.gz llvm-705ceff7c1fc328151a6506a91773aac429ccee3.tar.bz2 |
[TargetParser] Fix flaky installs of generated headers (#137853)
The `llvm-headers` target wasn't depending on the generated TargetParser
headers, so they'd be flakily installed or not installed depending on
which order the build steps ran in. Add an explicit dependency to fix
this, and switch to a single `target_parser_gen` target to mirror the
pattern used by `intrinsics_gen` (which also fixes a few other missing
dependencies). Switch `llvm-headers` to use `add_dependencies` instead
of `DEPENDS` for the tablegen dependencies as well, since `DEPENDS` is
only intended for creating a file-level dependency on the output of an
`add_custom_command` in the same CMakeLists.txt (see `DEPENDS` under
https://cmake.org/cmake/help/latest/command/add_custom_target.html).
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions