未验证 提交 9a678b80 编写于 作者: J Jiawei Wang 提交者: GitHub

Merge pull request #1438 from ShiningZhang/develop

fix paddle.cmake for xpu v0.7
...@@ -57,7 +57,7 @@ if (WITH_GPU) ...@@ -57,7 +57,7 @@ if (WITH_GPU)
SET(PADDLE_LIB_VERSION "${PADDLE_VERSION}/cxx_c/Linux/GPU/${CUDA_SUFFIX}") SET(PADDLE_LIB_VERSION "${PADDLE_VERSION}/cxx_c/Linux/GPU/${CUDA_SUFFIX}")
elseif (WITH_LITE) elseif (WITH_LITE)
if (WITH_XPU) if (WITH_XPU)
SET(PADDLE_LIB_VERSION "arm64_gcc7.3_openblas") SET(PADDLE_LIB_VERSION "x86-64_gcc8.2_avx_mkl")
else() else()
SET(PADDLE_LIB_VERSION "${PADDLE_VERSION}-${CMAKE_SYSTEM_PROCESSOR}") SET(PADDLE_LIB_VERSION "${PADDLE_VERSION}-${CMAKE_SYSTEM_PROCESSOR}")
endif() endif()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册