This is an archive of the discontinued LLVM Phabricator instance.

[libomptarget][amdcgn] Add build dependency for llvm-link
AbandonedPublic

Authored by JonChesterfield on Aug 2 2021, 5:33 PM.

Details

Summary

Direct copy of D107156 with llvm-link instead of opt

Diff Detail

Unit TestsFailed

Event Timeline

JonChesterfield created this revision.Aug 2 2021, 5:33 PM
JonChesterfield requested review of this revision.Aug 2 2021, 5:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 2 2021, 5:33 PM

If D107156 is the correct way to specify a dependency on opt then this should specify a dependency on llvm-link which is used in the same pipeline as opt. Relying on the reviewer's better understanding of our build system in this copy/paste patch, thanks!

Actually, the "true" correct way should be https://reviews.llvm.org/D107156#2918009. :-)

In my latest re-build from main, I ran again into the issue with missing opt during runtime build.
I think, we need to declare the dependency to opt/llvm-link for the runtime/openmp target.

I've just been burned by this again but don't understand what the fix is. If not this, then what should we be doing here?

JonChesterfield abandoned this revision.Aug 19 2021, 1:51 PM