diff --git a/cmake/paddlepaddle.cmake b/cmake/paddlepaddle.cmake index c923486948f3d08af9a672b0ebad1c26708a6eff..6f4dbe4fca15943d474b74173532e194c549476d 100644 --- a/cmake/paddlepaddle.cmake +++ b/cmake/paddlepaddle.cmake @@ -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")