[all-commits] [llvm/llvm-project] 4b004a: [Libomptarget] Embed bitcode library in static lib...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Sep 15 12:05:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b004a0b839cf2f3cede9a07a998657cd33fe75d
      https://github.com/llvm/llvm-project/commit/4b004a0b839cf2f3cede9a07a998657cd33fe75d
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-09-15 (Thu, 15 Sep 2022)

  Changed paths:
    M openmp/libomptarget/DeviceRTL/CMakeLists.txt
    A openmp/libomptarget/DeviceRTL/src/Stub.cpp

  Log Message:
  -----------
  [Libomptarget] Embed bitcode library in static library instead.

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.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D133952




More information about the All-commits mailing list