From fcb3e395b128a04b24de9df281bf54cde1f2ed6e Mon Sep 17 00:00:00 2001 From: Jiawei Wang Date: Wed, 27 Oct 2021 10:56:53 +0800 Subject: [PATCH] Merge pull request #1441 from ShiningZhang/develop fix paddlepaddle.cmake for x86 xpu --- cmake/paddlepaddle.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/paddlepaddle.cmake b/cmake/paddlepaddle.cmake index c9234869..6f4dbe4f 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") -- GitLab