diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt index 10385f9026..3f565259bd 100755 --- a/server/CMakeLists.txt +++ b/server/CMakeLists.txt @@ -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 diff --git a/server/ci/run.sh b/server/ci/run.sh index 62ef99b8e4..7aba6d9897 100755 --- a/server/ci/run.sh +++ b/server/ci/run.sh @@ -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 \ No newline at end of file +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 diff --git a/server/external/spdlog b/server/external/spdlog index a51b485637..352281313f 160000 --- a/server/external/spdlog +++ b/server/external/spdlog @@ -1 +1 @@ -Subproject commit a51b4856377a71f81b6d74b9af459305c4c644f8 +Subproject commit 352281313fe1c4313bc222cb9de222afd50c822f