From 1b59830b767a208206b663359725010ce4236ba7 Mon Sep 17 00:00:00 2001 From: tianshuo78520a <707759223@qq.com> Date: Thu, 24 Nov 2022 21:57:58 +0800 Subject: [PATCH] Delete fluid_convert_utils fix PR-CI-Build (#48347) --- paddle/fluid/framework/CMakeLists.txt | 7 +------ paddle/phi/core/CMakeLists.txt | 6 +++--- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/paddle/fluid/framework/CMakeLists.txt b/paddle/fluid/framework/CMakeLists.txt index 05c2a4ccfb..e48ec3ad03 100755 --- a/paddle/fluid/framework/CMakeLists.txt +++ b/paddle/fluid/framework/CMakeLists.txt @@ -1242,9 +1242,4 @@ cc_test( SRCS phi_utils_test.cc DEPS phi_utils) -cc_library(fluid_convert_utils DEPS data_type) - -cc_test( - convert_utils_test - SRCS convert_utils_test.cc - DEPS fluid_convert_utils) +cc_test(convert_utils_test SRCS convert_utils_test.cc) diff --git a/paddle/phi/core/CMakeLists.txt b/paddle/phi/core/CMakeLists.txt index 3ecd022ff5..38fd021928 100644 --- a/paddle/phi/core/CMakeLists.txt +++ b/paddle/phi/core/CMakeLists.txt @@ -19,12 +19,12 @@ if(WITH_XPU) cc_library( kernel_factory SRCS kernel_factory.cc - DEPS phi_enforce fluid_convert_utils convert_utils xpu_op_list) + DEPS phi_enforce convert_utils xpu_op_list) else() cc_library( kernel_factory SRCS kernel_factory.cc - DEPS phi_enforce fluid_convert_utils) + DEPS phi_enforce convert_utils) endif() cc_library( kernel_context @@ -55,7 +55,7 @@ cc_library( cc_library( dense_tensor SRCS dense_tensor.cc dense_tensor_impl.cc - DEPS convert_utils fluid_convert_utils tensor_meta tensor_base ddim) + DEPS convert_utils tensor_meta tensor_base ddim) target_link_libraries(dense_tensor malloc) -- GitLab