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

Merge pull request #1441 from ShiningZhang/develop

fix paddlepaddle.cmake for x86 xpu
......@@ -57,7 +57,7 @@ if (WITH_GPU)
elseif (WITH_LITE)
message("cpu arch: ${CMAKE_SYSTEM_PROCESSOR}")
if (WITH_XPU)
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86-64")
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
SET(PADDLE_LIB_VERSION "x86-64_gcc8.2_avx_mkl")
elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
SET(PADDLE_LIB_VERSION "arm64_gcc7.3_openblas")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册