This is an archive of the discontinued LLVM Phabricator instance.

[Libomptarget] Embed bitcode library in static library instead.
ClosedPublic

Authored by jhuber6 on Sep 15 2022, 9:33 AM.

Details

Summary

This patch changes the CMake to instead embed the already generated
LLVM-IR bitcode library into an object file to create the static
library. This is different from the previous method which generated them
separately. This will make the build faster and allow us to perform the
same internalization into a single library we do with the bitcode
library.

Diff Detail

Event Timeline

jhuber6 created this revision.Sep 15 2022, 9:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 15 2022, 9:33 AM
Herald added a subscriber: mgorny. · View Herald Transcript
jhuber6 requested review of this revision.Sep 15 2022, 9:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 15 2022, 9:33 AM
jdoerfert accepted this revision.Sep 15 2022, 10:49 AM

LG, thanks for making this happen.

This revision is now accepted and ready to land.Sep 15 2022, 10:49 AM