[all-commits] [llvm/llvm-project] a3804a: [Libomptarget] Make the plugins link as LLVM libra...

Joseph Huber via All-commits all-commits at lists.llvm.org
Fri Jul 22 06:34:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3804a3145536b773f734d37d72ac5725ed0a9b3
      https://github.com/llvm/llvm-project/commit/a3804a3145536b773f734d37d72ac5725ed0a9b3
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-07-22 (Fri, 22 Jul 2022)

  Changed paths:
    M openmp/libomptarget/plugins/CMakeLists.txt
    M openmp/libomptarget/plugins/amdgpu/CMakeLists.txt
    M openmp/libomptarget/plugins/cuda/CMakeLists.txt
    M openmp/libomptarget/plugins/ve/CMakeLists.txt
    M openmp/libomptarget/src/CMakeLists.txt

  Log Message:
  -----------
  [Libomptarget] Make the plugins link as LLVM libraries

Previously we made `libomptarget` link as an LLVM library so we have
access to the LLVM core libraries. After the initial patch stuck we can
now apply the same changes to the plugins. This will allow us to use
LLVM in all of `libomptarget` when we have uses for them. In the future
this should allow us to remove the dependencies on `libelf`, `libffi`,
and `dl`.

Reviewed By: JonChesterfield

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




More information about the All-commits mailing list