This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][libomptarget] Add TargetParser as dependency in NextGen's JIT
ClosedPublic

Authored by kevinsala on Dec 31 2022, 12:26 PM.

Details

Summary

This fixes an undefined symbol of llvm::Triple::Triple() constructor when building the NextGen plugins:

openmp/libomptarget/plugins-nextgen/common/PluginInterface/JIT.cpp:343: undefined reference to `llvm::Triple::Triple(llvm::Twine const&)'

Although the patch makes the error to disappear on my side, I'm opening this review since I'm not 100% sure whether this is a complete fix.

Diff Detail

Event Timeline

kevinsala created this revision.Dec 31 2022, 12:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 31 2022, 12:26 PM
kevinsala requested review of this revision.Dec 31 2022, 12:26 PM
kevinsala edited the summary of this revision. (Show Details)Dec 31 2022, 12:27 PM
This revision is now accepted and ready to land.Dec 31 2022, 8:39 PM