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)
767
767
gpu/rpc.h
768
768
DEPENDS
769
769
.llvm_libc_common_h
770
- .llvm-libc-types.rpc_opcodes_t
771
770
)
772
771
endif ()
773
772
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)
122
122
add_header (struct_sockaddr HDR struct_sockaddr.h DEPENDS .sa_family_t )
123
123
add_header (struct_iovec HDR struct_iovec.h DEPENDS .size_t )
124
124
add_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 )
126
125
add_header (ACTION HDR ACTION.h )
127
126
add_header (ENTRY HDR ENTRY.h )
128
127
add_header (struct_hsearch_data HDR struct_hsearch_data.h )
Original file line number Diff line number Diff line change 6
6
//
7
7
//===----------------------------------------------------------------------===//
8
8
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
11
11
12
12
#define LLVM_LIBC_RPC_BASE 'c'
13
13
#define LLVM_LIBC_OPCODE (n ) (LLVM_LIBC_RPC_BASE << 24 | n)
@@ -46,4 +46,4 @@ typedef enum {
46
46
RPC_LAST = 0xFFFFFFFF ,
47
47
} rpc_opcode_t ;
48
48
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 10
10
#define LLVM_LIBC_SRC___SUPPORT_RPC_RPC_CLIENT_H
11
11
12
12
#include " shared/rpc.h"
13
+ #include " shared/rpc_opcodes.h"
13
14
14
- #include " include/llvm-libc-types/rpc_opcodes_t.h"
15
15
#include " src/__support/CPP/type_traits.h"
16
16
#include " src/__support/macros/config.h"
17
17
Original file line number Diff line number Diff line change 11
11
12
12
#include " utils/gpu/server/llvmlibc_rpc_server.h"
13
13
14
- #include " include/llvm-libc-types/rpc_opcodes_t.h"
15
14
#include " include/llvm-libc-types/test_rpc_opcodes_t.h"
15
+
16
16
#include " shared/rpc.h"
17
+ #include " shared/rpc_opcodes.h"
17
18
18
19
#include < cstddef>
19
20
#include < cstdint>
Original file line number Diff line number Diff line change @@ -26,10 +26,6 @@ target_compile_definitions(llvmlibc_rpc_server PUBLIC
26
26
install (FILES ${CMAKE_CURRENT_SOURCE_DIR} /llvmlibc_rpc_server.h
27
27
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
28
28
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 )
33
29
install (TARGETS llvmlibc_rpc_server
34
30
ARCHIVE DESTINATION "lib${LLVM_LIBDIR_SUFFIX} "
35
31
COMPONENT libc )
Original file line number Diff line number Diff line change 15
15
#include < limits.h>
16
16
17
17
#include " shared/rpc.h"
18
+ #include " shared/rpc_opcodes.h"
18
19
19
20
#include " llvmlibc_rpc_server.h"
20
21
21
- #include " include/llvm-libc-types/rpc_opcodes_t.h"
22
22
#include " src/__support/arg_list.h"
23
23
#include " src/stdio/printf_core/converter.h"
24
24
#include " src/stdio/printf_core/parser.h"
Original file line number Diff line number Diff line change 14
14
15
15
// TODO: This should be included unconditionally and cleaned up.
16
16
#if defined(LIBOMPTARGET_RPC_SUPPORT)
17
- #include " include/llvm-libc-types/rpc_opcodes_t.h"
18
17
#include " llvmlibc_rpc_server.h"
19
18
#include " shared/rpc.h"
19
+ #include " shared/rpc_opcodes.h"
20
20
#endif
21
21
22
22
using namespace llvm ;
You can’t perform that action at this time.
0 commit comments