[Openmp-commits] [PATCH] D95574: [OpenMP][Libomptarget] Fix conditional in CMake for remote plugin
Atmn Patel via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jan 27 18:29:24 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8a77056256d9: [OpenMP][Libomptarget] Fix conditional in CMake for remote plugin (authored by adpatel6).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D95574/new/
https://reviews.llvm.org/D95574
Files:
openmp/libomptarget/plugins/remote/CMakeLists.txt
Index: openmp/libomptarget/plugins/remote/CMakeLists.txt
===================================================================
--- openmp/libomptarget/plugins/remote/CMakeLists.txt
+++ openmp/libomptarget/plugins/remote/CMakeLists.txt
@@ -42,12 +42,13 @@
set(GRPC_INCLUDE_DIR
${directory}
)
+
+ set(RPC_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include/)
+ set(RPC_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/lib/)
+
+ add_subdirectory(src)
+ add_subdirectory(server)
else()
libomptarget_say("Not building remote offloading plugin: required libraries were not found.")
endif()
-set(RPC_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/include/)
-set(RPC_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/lib/)
-
-add_subdirectory(src)
-add_subdirectory(server)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95574.319731.patch
Type: text/x-patch
Size: 752 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210128/bf31d3be/attachment.bin>
More information about the Openmp-commits
mailing list