This is an archive of the discontinued LLVM Phabricator instance.

[Libomptarget] Remove global include directory from libomptarget
ClosedPublic

Authored by jhuber6 on May 13 2022, 10:09 AM.

Details

Summary

We used to globally include the libomptarget include directory for all
projects. This caused some conflicts with the other files named
"Debug.h". This patch changes the cmake to include these files via the
target include instead.

Diff Detail

Event Timeline

jhuber6 created this revision.May 13 2022, 10:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 13 2022, 10:09 AM
Herald added a subscriber: mgorny. · View Herald Transcript
jhuber6 requested review of this revision.May 13 2022, 10:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 13 2022, 10:09 AM
jhuber6 updated this revision to Diff 429283.May 13 2022, 10:20 AM

Changing to be directly included by each plugin rather than inherited from elf_common.

tianshilei1992 accepted this revision.May 13 2022, 10:21 AM

LGTM. Thanks!

This revision is now accepted and ready to land.May 13 2022, 10:21 AM