[Openmp-commits] [PATCH] D31207: [OpenMP] CUDA plugin: add include directory for libelf

George Rokos via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Mar 22 09:54:02 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL298515: [OpenMP] CUDA plugin: add include directory for libelf (authored by grokos).

Changed prior to commit:
  https://reviews.llvm.org/D31207?vs=92538&id=92648#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D31207

Files:
  openmp/trunk/libomptarget/plugins/cuda/CMakeLists.txt


Index: openmp/trunk/libomptarget/plugins/cuda/CMakeLists.txt
===================================================================
--- openmp/trunk/libomptarget/plugins/cuda/CMakeLists.txt
+++ openmp/trunk/libomptarget/plugins/cuda/CMakeLists.txt
@@ -24,6 +24,7 @@
       endif()
       
       include_directories(${LIBOMPTARGET_DEP_CUDA_INCLUDE_DIRS})
+      include_directories(${LIBOMPTARGET_DEP_LIBELF_INCLUDE_DIRS})
     
       add_library(omptarget.rtl.cuda SHARED src/rtl.cpp)
       
@@ -46,4 +47,4 @@
   endif()
 else(LIBOMPTARGET_DEP_LIBELF_FOUND)
   libomptarget_say("Not building CUDA offloading plugin: libelf dependency not found.")
-endif(LIBOMPTARGET_DEP_LIBELF_FOUND)
\ No newline at end of file
+endif(LIBOMPTARGET_DEP_LIBELF_FOUND)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31207.92648.patch
Type: text/x-patch
Size: 751 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20170322/78bdcbf0/attachment.bin>


More information about the Openmp-commits mailing list