From ade721086a2761ecddd3b6127eafd65336c1a8d3 Mon Sep 17 00:00:00 2001 From: xiongkun Date: Thu, 17 Mar 2022 10:55:19 +0800 Subject: [PATCH] fix xpu compile error: introduced by scalar.cc (#40630) --- paddle/phi/common/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/phi/common/CMakeLists.txt b/paddle/phi/common/CMakeLists.txt index 0947870dcd3..9bf69270386 100644 --- a/paddle/phi/common/CMakeLists.txt +++ b/paddle/phi/common/CMakeLists.txt @@ -1,2 +1,2 @@ cc_library(phi_place SRCS place.cc) -cc_library(scalar SRCS scalar.cc) +cc_library(scalar SRCS scalar.cc DEPS phi_enforce) -- GitLab