[Openmp-commits] [PATCH] D131401: [Libomptarget] Replace libelf with LLVM's Elf libraries

Joseph Huber via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Aug 8 08:06:37 PDT 2022


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

This patch replaces the dependency on `libelf` with LLVM's ELF support.
With this patch the user no-longer needs to have `libelf` on their
system to build and configure OpenMP offloading. The replacement is
mostly mechanical, with the exception of the hash table support which
was added in D131309 <https://reviews.llvm.org/D131309>.

Depends on D131309 <https://reviews.llvm.org/D131309>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131401

Files:
  openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake
  openmp/libomptarget/plugins/CMakeLists.txt
  openmp/libomptarget/plugins/amdgpu/CMakeLists.txt
  openmp/libomptarget/plugins/amdgpu/impl/system.cpp
  openmp/libomptarget/plugins/amdgpu/src/rtl.cpp
  openmp/libomptarget/plugins/cuda/CMakeLists.txt
  openmp/libomptarget/plugins/generic-elf-64bit/src/rtl.cpp
  openmp/libomptarget/plugins/ve/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131401.450813.patch
Type: text/x-patch
Size: 29848 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220808/e86422c5/attachment-0001.bin>


More information about the Openmp-commits mailing list