[all-commits] [llvm/llvm-project] 0ec4b8: [Libomptarget] Output the DeviceRTL alongside the ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu Nov 30 13:48:55 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ec4b82cfddbe0c7c7eb4b3486f55139f56d5f16
      https://github.com/llvm/llvm-project/commit/0ec4b82cfddbe0c7c7eb4b3486f55139f56d5f16
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    M openmp/libomptarget/CMakeLists.txt
    M openmp/libomptarget/DeviceRTL/CMakeLists.txt
    M openmp/libomptarget/test/lit.cfg
    M openmp/libomptarget/test/lit.site.cfg.in

  Log Message:
  -----------
  [Libomptarget] Output the DeviceRTL alongside the other libraries (#73705)

Summary:
Currently, the `libomp.so` and `libomptarget.so` are emitted in the
`./lib` build directory generally. This logic is internal to the
`add_llvm_library` function we use to build `libomptarget`. The
DeviceRTl static library however is in the middle of the OpenMP runtime
build, which can vary depending on if this is a runtimes or projects
build. This patch changes this to install the DeviceRTL static library
alongside the other OpenMP libraries so they are easier to find.




More information about the All-commits mailing list