Hello,
I am trying to build clang-13 with support for OpenMP target offload to Nvidia GPUS.
I can build clang, but it stubbornly refuses to build the openmpRTL, I get this in the cmake output:
- Could NOT find LIBOMPTARGET_DEP_VEO (missing: LIBOMPTARGET_DEP_VEO_LIBRARIES LIBOMPTARGET_DEP_VEOSINFO_LIBRARIES LIBOMPTARGET_DEP_V
EO_INCLUDE_DIRS)
– LIBOMPTARGET: Building offloading runtime library libomptarget.
– LIBOMPTARGET: Not building aarch64 offloading plugin: machine not found in the system.
– LIBOMPTARGET: Building AMDGPU plugin for dlopened libhsa
– LIBOMPTARGET: Not generating amdgcn test targets as amdgpu-arch is not found
– LIBOMPTARGET: Building CUDA offloading plugin.
– LIBOMPTARGET: Building CUDA plugin linked against libcuda
– LIBOMPTARGET: Enable tests using CUDA plugin
– LIBOMPTARGET: Not building PPC64 offloading plugin: machine not found in the system.
– LIBOMPTARGET: Not building PPC64le offloading plugin: machine not found in the system.
– LIBOMPTARGET: Not building nec-aurora plugin: libveo or libveosinfo not found.
– LIBOMPTARGET: Not building x86_64 offloading plugin: libffi dependency not found.
– LIBOMPTARGET: Building AMDGCN device RTL. Using clang from in-tree build
– LIBOMPTARGET: Not building NVPTX deviceRTL: clang not found
– LIBOMPTARGET: Not building NVPTX deviceRTL: clang not found
– LIBOMPTARGET: Building the llvm-omp-device-info tool