From 5857a7d9fed4588f0c9d3850026c4d2e6cc81153 Mon Sep 17 00:00:00 2001 From: ccsuzzh <1719571694@qq.com> Date: Thu, 21 Dec 2023 20:30:19 +0800 Subject: [PATCH] rm some DEPS of test/cpp/fluid/cinn/CMakeLists.txt --- test/cpp/fluid/cinn/CMakeLists.txt | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/test/cpp/fluid/cinn/CMakeLists.txt b/test/cpp/fluid/cinn/CMakeLists.txt index 27c0591b91322..35d095fc90bda 100644 --- a/test/cpp/fluid/cinn/CMakeLists.txt +++ b/test/cpp/fluid/cinn/CMakeLists.txt @@ -1,19 +1,5 @@ if(WITH_TESTING) - paddle_test( - cinn_launch_context_test - SRCS - cinn_launch_context_test.cc - DEPS - fleet_executor - phi - lod_tensor - scope - proto_desc - graph - cinn_launch_context - cinn_instruction_run_op - cinnapi - paddle_flags) + paddle_test(cinn_launch_context_test SRCS cinn_launch_context_test.cc) target_link_libraries(cinn_launch_context_test ${PYTHON_LIBRARIES}) set_tests_properties(cinn_launch_context_test PROPERTIES LABELS "RUN_TYPE=CINN") @@ -22,15 +8,7 @@ if(WITH_TESTING) "OMP_NUM_THREADS=1;runtime_include_dir=${CINN_INCLUDE_DIR}/paddle/cinn/runtime/cuda/" ) - paddle_test( - cinn_instruction_run_op_test - SRCS - cinn_instruction_run_op_test.cc - DEPS - cinn_launch_op - cinn_instruction_run_op - elementwise_add_op - paddle_flags) + paddle_test(cinn_instruction_run_op_test SRCS cinn_instruction_run_op_test.cc) target_link_libraries(cinn_instruction_run_op_test ${PYTHON_LIBRARIES}) get_property(