Skip to content

Commit f6f4744

Browse files
authored
[libc] Install RPC server to shared/rpc.h (#120170)
Summary: This installs the shared header to the users installation. I couldn't decide if this should be a standalone thing or use the existing support in `include/` mostly because this is completely separate from hdrgen stuff and it's C++.
1 parent 2072ec1 commit f6f4744

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libc/utils/gpu/server/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ target_compile_definitions(llvmlibc_rpc_server PUBLIC
2323
LIBC_NAMESPACE=${LIBC_NAMESPACE})
2424

2525
# Install the server and associated header.
26+
install(FILES ${LIBC_SOURCE_DIR}/shared/rpc.h
27+
${LIBC_SOURCE_DIR}/shared/rpc_util.h
28+
${LIBC_SOURCE_DIR}/shared/rpc_opcodes.h
29+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/shared
30+
COMPONENT libc-headers)
2631
install(TARGETS llvmlibc_rpc_server
2732
ARCHIVE DESTINATION "lib${LLVM_LIBDIR_SUFFIX}"
2833
COMPONENT libc)

0 commit comments

Comments
 (0)