[libc-commits] [libc] [llvm] [libc] Move libc server handlers to a shared header (PR #117908)
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Wed Nov 27 12:33:35 PST 2024
================
@@ -32,10 +32,7 @@ elseif(${LIBOMPTARGET_GPU_LIBC_SUPPORT})
target_link_libraries(PluginCommon PRIVATE ${llvmlibc_rpc_server})
target_compile_definitions(PluginCommon PRIVATE LIBOMPTARGET_RPC_SUPPORT)
# We may need to get the headers directly from the 'libc' source directory.
- target_include_directories(PluginCommon PRIVATE
- ${CMAKE_SOURCE_DIR}/../libc/utils/gpu/server
- ${CMAKE_SOURCE_DIR}/../libc/
- ${CMAKE_SOURCE_DIR}/../libc/include)
+ target_include_directories(PluginCommon PRIVATE ${CMAKE_SOURCE_DIR}/../libc/)
----------------
jhuber6 wrote:
You just described the next patch I'm going to do once this lands. We already have something called `include(FindLibcCommonUtils)` that I will use after this removes the need for the extra directories.
https://github.com/llvm/llvm-project/pull/117908
More information about the libc-commits
mailing list