提交 c5e7b8cd 编写于 作者: S ShiningZhang

fix paddlepaddle.cmake for x86 xpu

上级 040e6dfd
......@@ -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.
先完成此消息的编辑!
想要评论请 注册