Fix ORT server CI build (#4165)

This commit is contained in:
Changming Sun 2020-06-15 21:26:19 -07:00 committed by GitHub
parent 5d28efd434
commit 825392c25b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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

@ -1 +1 @@
Subproject commit a51b4856377a71f81b6d74b9af459305c4c644f8
Subproject commit 352281313fe1c4313bc222cb9de222afd50c822f