mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-30 20:18:08 +00:00
Fix ORT server CI build (#4165)
This commit is contained in:
parent
5d28efd434
commit
825392c25b
3 changed files with 5 additions and 5 deletions
|
|
@ -213,7 +213,7 @@ target_link_libraries(${SERVER_APP_NAME} PRIVATE
|
|||
${Boost_LIBRARIES}
|
||||
onnxruntime_server_http_core_lib
|
||||
${grpc_static_libs} protobuf::libprotobuf
|
||||
spdlog::spdlog
|
||||
spdlog
|
||||
onnxruntime gtest re2 ${CMAKE_DL_LIBS} Threads::Threads
|
||||
)
|
||||
|
||||
|
|
@ -247,7 +247,7 @@ file(GLOB onnxruntime_test_server_src
|
|||
${Boost_LIBRARIES}
|
||||
onnxruntime_server_http_core_lib
|
||||
${grpc_static_libs} protobuf::libprotobuf
|
||||
spdlog::spdlog
|
||||
spdlog
|
||||
onnxruntime gtest re2 gtest ${CMAKE_DL_LIBS} Threads::Threads)
|
||||
target_include_directories(onnxruntime_server_tests PRIVATE ${ONNXRUNTIME_SERVER_ROOT}/external/spdlog/include
|
||||
${ONNXRUNTIME_SERVER_ROOT}/http/core
|
||||
|
|
|
|||
|
|
@ -7,5 +7,5 @@ make -j$(getconf _NPROCESSORS_ONLN)
|
|||
cd /onnxruntime_src/test
|
||||
/build/onnxruntime_server_tests
|
||||
cd /build
|
||||
pip3 install grpcio requests protobuf
|
||||
python3 server_test/test_main.py /build/onnxruntime_server /build/models/opset8/test_mnist /onnxruntime_src/test/testdata/server /build /build/server_test
|
||||
python3 -m pip install grpcio==1.27.2 requests protobuf
|
||||
python3 server_test/test_main.py /build/onnxruntime_server /build/models/opset8/test_mnist /onnxruntime_src/test/testdata/server /build /build/server_test
|
||||
|
|
|
|||
2
server/external/spdlog
vendored
2
server/external/spdlog
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit a51b4856377a71f81b6d74b9af459305c4c644f8
|
||||
Subproject commit 352281313fe1c4313bc222cb9de222afd50c822f
|
||||
Loading…
Reference in a new issue