[Openmp-commits] [PATCH] D133952: [Libomptarget] Embed bitcode library in static library instead.

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Sep 15 09:33:03 PDT 2022


jhuber6 created this revision.
jhuber6 added reviewers: jdoerfert, tianshilei1992, ye-luo, JonChesterfield, ronlieb.
Herald added a subscriber: mgorny.
Herald added a project: All.
jhuber6 requested review of this revision.
Herald added subscribers: openmp-commits, sstefan1.
Herald added a project: OpenMP.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133952

Files:
  openmp/libomptarget/DeviceRTL/CMakeLists.txt
  openmp/libomptarget/DeviceRTL/src/Stub.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133952.460442.patch
Type: text/x-patch
Size: 7040 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220915/9463764c/attachment-0001.bin>


More information about the Openmp-commits mailing list