[Openmp-commits] [PATCH] D93737: [OpenMP] Fixed an issue that wrong LLVM headers might be included when building libomptarget
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jan 6 14:07:57 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5acdae1f9a77: [OpenMP] Fixed an issue that wrong LLVM headers might be included when building… (authored by tianshilei1992).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93737/new/
https://reviews.llvm.org/D93737
Files:
openmp/libomptarget/src/CMakeLists.txt
Index: openmp/libomptarget/src/CMakeLists.txt
===================================================================
--- openmp/libomptarget/src/CMakeLists.txt
+++ openmp/libomptarget/src/CMakeLists.txt
@@ -21,6 +21,8 @@
${CMAKE_CURRENT_SOURCE_DIR}/omptarget.cpp
)
+include_directories(${LIBOMPTARGET_LLVM_MAIN_INCLUDE_DIR})
+
# Build libomptarget library with libdl dependency. Add LLVMSupport
# dependency if building in-tree with profiling enabled.
if(OPENMP_STANDALONE_BUILD OR (NOT OPENMP_ENABLE_LIBOMPTARGET_PROFILING))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93737.314983.patch
Type: text/x-patch
Size: 532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210106/f8df24e3/attachment.bin>
More information about the Openmp-commits
mailing list