File tree Expand file tree Collapse file tree 8 files changed +8
-13
lines changed
offload/plugins-nextgen/common/src Expand file tree Collapse file tree 8 files changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -767,7 +767,6 @@ if(LIBC_TARGET_OS_IS_GPU)
767767 gpu/rpc.h
768768 DEPENDS
769769 .llvm_libc_common_h
770- .llvm-libc-types.rpc_opcodes_t
771770 )
772771endif ()
773772
Original file line number Diff line number Diff line change @@ -122,7 +122,6 @@ add_header(struct_sockaddr_un HDR struct_sockaddr_un.h DEPENDS .sa_family_t)
122122add_header(struct_sockaddr HDR struct_sockaddr.h DEPENDS .sa_family_t)
123123add_header(struct_iovec HDR struct_iovec.h DEPENDS .size_t)
124124add_header(struct_msghdr HDR struct_msghdr.h DEPENDS .size_t .socklen_t .struct_iovec)
125- add_header(rpc_opcodes_t HDR rpc_opcodes_t.h)
126125add_header(ACTION HDR ACTION.h)
127126add_header(ENTRY HDR ENTRY.h)
128127add_header(struct_hsearch_data HDR struct_hsearch_data.h)
Original file line number Diff line number Diff line change 66//
77//===----------------------------------------------------------------------===//
88
9- #ifndef LLVM_LIBC_TYPES_RPC_OPCODES_T_H
10- #define LLVM_LIBC_TYPES_RPC_OPCODES_T_H
9+ #ifndef LLVM_LIBC_SHARED_RPC_OPCODES_H
10+ #define LLVM_LIBC_SHARED_RPC_OPCODES_H
1111
1212#define LLVM_LIBC_RPC_BASE 'c'
1313#define LLVM_LIBC_OPCODE (n ) (LLVM_LIBC_RPC_BASE << 24 | n)
@@ -46,4 +46,4 @@ typedef enum {
4646 RPC_LAST = 0xFFFFFFFF ,
4747} rpc_opcode_t ;
4848
49- #endif // LLVM_LIBC_TYPES_RPC_OPCODES_T_H
49+ #endif // LLVM_LIBC_SHARED_RPC_OPCODES_H
Original file line number Diff line number Diff line change 1010#define LLVM_LIBC_SRC___SUPPORT_RPC_RPC_CLIENT_H
1111
1212#include " shared/rpc.h"
13+ #include " shared/rpc_opcodes.h"
1314
14- #include " include/llvm-libc-types/rpc_opcodes_t.h"
1515#include " src/__support/CPP/type_traits.h"
1616#include " src/__support/macros/config.h"
1717
Original file line number Diff line number Diff line change 1111
1212#include " utils/gpu/server/llvmlibc_rpc_server.h"
1313
14- #include " include/llvm-libc-types/rpc_opcodes_t.h"
1514#include " include/llvm-libc-types/test_rpc_opcodes_t.h"
15+
1616#include " shared/rpc.h"
17+ #include " shared/rpc_opcodes.h"
1718
1819#include < cstddef>
1920#include < cstdint>
Original file line number Diff line number Diff line change @@ -26,10 +26,6 @@ target_compile_definitions(llvmlibc_rpc_server PUBLIC
2626install (FILES ${CMAKE_CURRENT_SOURCE_DIR} /llvmlibc_rpc_server.h
2727 DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
2828 COMPONENT libc-headers)
29- install (FILES ${LIBC_SOURCE_DIR} /include /llvm-libc-types/rpc_opcodes_t.h
30- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
31- RENAME llvmlibc_rpc_opcodes.h
32- COMPONENT libc-headers)
3329install (TARGETS llvmlibc_rpc_server
3430 ARCHIVE DESTINATION "lib${LLVM_LIBDIR_SUFFIX} "
3531 COMPONENT libc)
Original file line number Diff line number Diff line change 1515#include < limits.h>
1616
1717#include " shared/rpc.h"
18+ #include " shared/rpc_opcodes.h"
1819
1920#include " llvmlibc_rpc_server.h"
2021
21- #include " include/llvm-libc-types/rpc_opcodes_t.h"
2222#include " src/__support/arg_list.h"
2323#include " src/stdio/printf_core/converter.h"
2424#include " src/stdio/printf_core/parser.h"
Original file line number Diff line number Diff line change 1414
1515// TODO: This should be included unconditionally and cleaned up.
1616#if defined(LIBOMPTARGET_RPC_SUPPORT)
17- #include " include/llvm-libc-types/rpc_opcodes_t.h"
1817#include " llvmlibc_rpc_server.h"
1918#include " shared/rpc.h"
19+ #include " shared/rpc_opcodes.h"
2020#endif
2121
2222using namespace llvm ;
You can’t perform that action at this time.
0 commit comments