[PATCH] D141581: [clang] Make clangBasic and clangDriver depend on LLVMTargetParser.

Sergei Barannikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 16 09:40:03 PST 2023


barannikov88 added a comment.

In D141581#4056671 <https://reviews.llvm.org/D141581#4056671>, @fpetrogalli wrote:

> @barannikov88  - I am stuck with an incomplete explanation:

Ah, I see. The key point is that standalone build that depends on //installed// LLVM.
RISCVTargetParser is a custom target and it is not being installed, while LLVMTargetParser is a "real" target and gets installed. This is probably why changing the dependency fixes the issue.
The change looks good to me then.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141581/new/

https://reviews.llvm.org/D141581



More information about the cfe-commits mailing list