llvm-project/openmp/libomptarget/plugins
Jon Chesterfield 26790ed248 [libomptarget] Require LLVM source tree to build libomptarget
[libomptarget] Require LLVM source tree to build libomptarget

This is to permit reliably #including files from the LLVM tree in libomptarget,
as an improvement on the copy and paste that is currently in use. See D87841
for the first example of removing duplication given this new requirement.

The weekly openmp dev call reached consensus on this approach. See also D87841
for some alternatives that were considered. In the future, we may want to
introduce a new top level repo for shared constants, or start using the ADT
library within openmp.

This will break sufficiently exotic build systems, trivial fixes as below.

Building libomptarget as part of the monorepo will continue to work.
If openmp is built separately, it now requires a cmake macro indicating
where to find the LLVM source tree.

If openmp is built separately, without the llvm source tree already on disk,
the build machine will need a copy of a subset of the llvm source tree and
the cmake macro indicating where it is.

Reviewed By: protze.joachim

Differential Revision: https://reviews.llvm.org/D89426
2020-10-21 18:53:00 +01:00
..
aarch64 Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
amdgpu [libomptarget] Require LLVM source tree to build libomptarget 2020-10-21 18:53:00 +01:00
common [OpenMP] Consolidate error handling and debug messages in Libomptarget 2020-09-01 15:28:19 -04:00
cuda [OpenMP] Protect unrecogonized CUDA error code 2020-09-21 13:43:08 -04:00
generic-elf-64bit/src [OpenMP] Consolidate error handling and debug messages in Libomptarget 2020-09-01 15:28:19 -04:00
ppc64 Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
ppc64le Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
ve [OpenMP][VE plugin] Fixing failure to build VE plugin with consolidated error handling in libomptarget 2020-09-29 17:38:01 +02:00
x86_64 Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
CMakeLists.txt [libomptarget] Disable build of amdgpu plugin as it doesn't build with rocm. 2020-09-18 18:10:27 +01:00
exports [OpenMP] Improve D2D memcpy to use more efficient driver API 2020-06-04 16:59:06 -04:00