This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][Libomptarget] Fix conditional in CMake for remote plugin
ClosedPublic

Authored by atmnpatel on Jan 27 2021, 3:53 PM.

Details

Summary

The remote offloading plugin's CMakeLists was trying to build if its
flag was enabled even if it didn't find gRPC/protobuf. The conditional
was wrong, it's fixed by this.

Diff Detail

Event Timeline

atmnpatel created this revision.Jan 27 2021, 3:53 PM
atmnpatel requested review of this revision.Jan 27 2021, 3:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 27 2021, 3:53 PM
This revision is now accepted and ready to land.Jan 27 2021, 5:13 PM

please add to the backport list