This is an archive of the discontinued LLVM Phabricator instance.

[Libomptarget] Add header files as a dependency to CMake target
ClosedPublic

Authored by jhuber6 on Feb 8 2022, 8:38 AM.

Details

Summary

This patch manually adds the runtime include files to the list of
dependencies when we build the bitcode runtime library. Previously if
only the header was changed we would not recompile the source files.
The solution used here isn't optimal because every source file not has a
dependency on each header file regardless of if it was actually used by
that file.

Diff Detail

Event Timeline

jhuber6 created this revision.Feb 8 2022, 8:38 AM
jhuber6 requested review of this revision.Feb 8 2022, 8:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 8 2022, 8:38 AM
ronlieb added a subscriber: ronlieb.Feb 8 2022, 8:42 AM

Thx
Much needed!

This revision is now accepted and ready to land.Feb 8 2022, 8:54 AM