diff --git a/cmake/external/openblas.cmake b/cmake/external/openblas.cmake index 180214970be99f8d12769dd1fcd410de68696311..2899119cde9a82434b3db8ed16e1539a5cbebc0e 100644 --- a/cmake/external/openblas.cmake +++ b/cmake/external/openblas.cmake @@ -23,7 +23,8 @@ set(CBLAS_TAG v0.3.7) # https://github.com/PaddlePaddle/Paddle/pull/52983 if(UNIX AND NOT APPLE - AND NOT WITH_ROCM) + AND NOT WITH_ROCM + AND NOT WITH_XPU) set(CBLAS_TAG v0.3.18) endif()