diff --git a/paddle/fluid/framework/CMakeLists.txt b/paddle/fluid/framework/CMakeLists.txt index 05c2a4ccfb2c451d916130ade932e785c8f96da4..e48ec3ad0385b39f6c043fbb8a8dd06575e820e4 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 3ecd022ff5d2362d5fc74a93635dcb7bfbec7b7f..38fd02192810431f191b7a5d12baa1aa702abac6 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)