llvm-project/openmp/libomptarget/test
Joseph Huber dc52712a06 [Libomptarget] Make libomptarget an LLVM library
This patch makes libomptarget depend on LLVM libraries to be built. The
reason for this is because we already have an implicit dependency on
LLVM headers for ELF identification and extraction as well as an
optional dependenly on the LLVMSupport library for time tracing
information. Furthermore, there are changes in the future that require
using more LLVM libraries, and will heavily simplify some future code as
well as open up the large amount of useful LLVM libraries to
libomptarget.

This will make "standalone" builds of `libomptarget' more difficult for
vendors wishing to ship their own. This will require a sufficiently new
version of LLVM to be installed on the system that should be picked up
by the existing handling for the implicit headers.

The things this patch changes are as follows:
  - `libomptarget.so` links against LLVMSupport and LLVMObject
  - `libomptarget.so` is a symbolic link to `libomptarget.so.15`
  - If using a shared library build, user applications will depend on LLVM
    libraries as well
  - We can now use LLVM resources in Libomptarget.

Note that this patch only changes this to apply to libomptarget itself,
not the plugins. Additional patches will be necessary for that.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D129875
2022-07-20 15:58:06 -04:00
..
api [OpenMP] Implementing omp_get_device_num() 2022-06-29 02:18:21 -05:00
env [Libomptarget] Add missing include to define `printf` 2022-06-08 09:56:51 -04:00
mapping [Libomptarget] Add test config for compiling in LTO-mode 2022-06-14 10:16:03 -04:00
offloading [Libomptarget] Use binutils archive executable to address failing tests 2022-06-14 22:14:17 -04:00
unified_shared_memory [Libomptarget] Add test config for compiling in LTO-mode 2022-06-14 10:16:03 -04:00
CMakeLists.txt [OpenMP][CMake] Fix an issue when there is space in the argument LIBOMPTARGET_LIT_ARGS 2021-07-18 21:54:14 -04:00
lit.cfg [Libomptarget] Make libomptarget an LLVM library 2022-07-20 15:58:06 -04:00
lit.site.cfg.in [Libomptarget] Make libomptarget an LLVM library 2022-07-20 15:58:06 -04:00