[libc][NFC] Move aligned access implementations to separate header
[llvm-project.git] / libc / src / __support / RPC / CMakeLists.txt
blob6d8dd7f257b64097af34ddac69ce45adca9fa259
1 if(NOT LIBC_TARGET_ARCHITECTURE_IS_GPU)
2   return()
3 endif()
5 add_header_library(
6   rpc
7   HDRS
8     rpc.h
9     rpc_util.h
10   DEPENDS
11     libc.src.__support.common
12     libc.src.__support.CPP.atomic
13     libc.src.__support.CPP.optional
14     libc.src.__support.CPP.functional
15     libc.src.__support.GPU.utils
18 add_object_library(
19   rpc_client
20   SRCS
21     rpc_client.cpp
22   HDRS
23     rpc_client.h
24   DEPENDS
25     libc.include.gpu_rpc
26     libc.src.__support.GPU.utils
27     .rpc