diff --git a/cmake/paddlepaddle.cmake b/cmake/paddlepaddle.cmake index ca40c7b5598f2cf986a52b815939702f792f24f9..9ca68859b356c57118154e379e45beae7b48e205 100644 --- a/cmake/paddlepaddle.cmake +++ b/cmake/paddlepaddle.cmake @@ -39,6 +39,12 @@ if (WITH_GPU) else() SET(PADDLE_LIB_VERSION "${PADDLE_VERSION}-gpu-cuda10-cudnn7-avx-mkl") endif() +elseif (WITH_LITE) + if (WITH_XPU) + SET(PADDLE_LIB_VERSION "${PADDLE_VERSION}-arm-xpu") + else() + SET(PADDLE_LIB_VERSION "${PADDLE_VERSION}-arm") + endif() else() if (WITH_AVX) if (WITH_MKLML) @@ -52,7 +58,7 @@ else() endif() if(WITH_LITE) - SET(PADDLE_LIB_PATH "/home/phytium/houjue/serving_tmp/build_paddle/fluid_inference.tgz") + SET(PADDLE_LIB_PATH "http://paddle-serving.bj.bcebos.com/inferlib/${PADDLE_LIB_VERSION}/fluid_inference.tgz") else() SET(PADDLE_LIB_PATH "http://paddle-inference-lib.bj.bcebos.com/${PADDLE_LIB_VERSION}/fluid_inference.tgz") endif()