[Openmp-commits] [openmp] r298515 - [OpenMP] CUDA plugin: add include directory for libelf
George Rokos via Openmp-commits
openmp-commits at lists.llvm.org
Wed Mar 22 09:41:46 PDT 2017
Author: grokos
Date: Wed Mar 22 11:41:46 2017
New Revision: 298515
URL: http://llvm.org/viewvc/llvm-project?rev=298515&view=rev
Log:
[OpenMP] CUDA plugin: add include directory for libelf
Allow the user to manually specify where libelf is installed.
Differential Revision: https://reviews.llvm.org/D31207
Modified:
openmp/trunk/libomptarget/plugins/cuda/CMakeLists.txt
Modified: openmp/trunk/libomptarget/plugins/cuda/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/openmp/trunk/libomptarget/plugins/cuda/CMakeLists.txt?rev=298515&r1=298514&r2=298515&view=diff
==============================================================================
--- openmp/trunk/libomptarget/plugins/cuda/CMakeLists.txt (original)
+++ openmp/trunk/libomptarget/plugins/cuda/CMakeLists.txt Wed Mar 22 11:41:46 2017
@@ -24,6 +24,7 @@ if(LIBOMPTARGET_DEP_LIBELF_FOUND)
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 @@ if(LIBOMPTARGET_DEP_LIBELF_FOUND)
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)
More information about the Openmp-commits
mailing list