File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed
mooncake-transfer-engine/src Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ jobs:
362
362
clang-format --version
363
363
clang-format-20 --version
364
364
# skip cachelib_memory_allocator
365
- find . -type f \( -name "*.h" -o -name "*.cpp" \) | grep -v cachelib_memory_allocator | xargs clang-format-20 -style=file -i
365
+ find . -type f \( -name "*.h" -o -name "*.cpp" \) | grep -v "extern/" | grep -v " cachelib_memory_allocator" | xargs clang-format-20 -style=file -i
366
366
if ! git diff --exit-code; then
367
367
echo "Please follow the .clang-format code style, try clang-format -i FILENAME"
368
368
exit 1
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ endif()
19
19
20
20
SET (CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE )
21
21
22
- add_library (transfer_engine ${ENGINE_SOURCES} $<TARGET_OBJECTS:transport> $<TARGET_OBJECTS:rdma_transport> $<TARGET_OBJECTS:coro_rpc_connector> )
22
+ add_library (transfer_engine ${ENGINE_SOURCES} $<TARGET_OBJECTS:transport>)
23
23
if (BUILD_SHARED_LIBS )
24
24
install (TARGETS transfer_engine DESTINATION lib)
25
25
endif ()
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ find_package(Python3 COMPONENTS Interpreter Development REQUIRED)
6
6
add_subdirectory (rdma_transport)
7
7
add_subdirectory (coro_rpc_connector)
8
8
9
- add_library (transport OBJECT ${XPORT_SOURCES} )
9
+ add_library (transport OBJECT ${XPORT_SOURCES} $<TARGET_OBJECTS:rdma_transport> $<TARGET_OBJECTS:coro_rpc_connector> )
10
10
target_link_libraries (transport PRIVATE JsonCpp::JsonCpp yalantinglibs::yalantinglibs glog::glog pthread ${Python3_LIBRARIES} )
11
11
target_include_directories (transport PRIVATE ${Python3_INCLUDE_DIRS} )
12
12
Original file line number Diff line number Diff line change 1
1
file (GLOB CORO_RPC_SOURCES "*.cpp" )
2
2
3
+ # Find Python for pybind11 support
4
+ find_package (Python3 COMPONENTS Interpreter Development REQUIRED)
5
+
3
6
add_library (coro_rpc_connector OBJECT ${CORO_RPC_SOURCES} )
4
7
add_library (yalantinglibs STATIC IMPORTED )
5
8
set_target_properties (yalantinglibs PROPERTIES
You can’t perform that action at this time.
0 commit comments