From 4f84c586162840dd5bcd59f6a3a9a9c0d4c3ff61 Mon Sep 17 00:00:00 2001 From: Zhan Rongrui <46243324+zrr1999@users.noreply.github.com> Date: Tue, 26 Dec 2023 14:58:54 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90CMake=20opt=20No.10=E3=80=91Remove=20a?= =?UTF-8?q?ll=20paddle=5Ftest=20DEPS=20in=20test/cpp/pir/cinn/CMakeLists.t?= =?UTF-8?q?xt=20(#60239)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * rm deps in pir/cinn * fix * fix --------- Co-authored-by: 张春乔 <83450930+Liyulingyue@users.noreply.github.com> --- test/cpp/pir/cinn/CMakeLists.txt | 77 +++++--------------------------- 1 file changed, 12 insertions(+), 65 deletions(-) diff --git a/test/cpp/pir/cinn/CMakeLists.txt b/test/cpp/pir/cinn/CMakeLists.txt index 80b35ae6b589f..b38edcbb62041 100644 --- a/test/cpp/pir/cinn/CMakeLists.txt +++ b/test/cpp/pir/cinn/CMakeLists.txt @@ -1,82 +1,29 @@ add_subdirectory(adt) if(WITH_TESTING AND WITH_CINN) - paddle_test(test_pir_compiler SRCS pir_compiler_test.cc DEPS pir_compiler - cinn_runtime_dialect) + paddle_test(test_pir_compiler SRCS pir_compiler_test.cc) - paddle_test(test_jit_instruction SRCS jit_instruction_test.cc DEPS - cinn_runtime_dialect pir_compiler) + paddle_test(test_jit_instruction SRCS jit_instruction_test.cc) - paddle_test( - test_dialect_convert - SRCS - dialect_convert_test.cc - DEPS - drr - pd_to_cinn_pass - op_dialect_vjp - cinn_op_dialect - pir) + paddle_test(test_dialect_convert SRCS dialect_convert_test.cc) - paddle_test( - test_add_broadcast_to_elementwise - SRCS - add_broadcast_to_elementwise_test.cc - DEPS - drr - pd_to_cinn_pass - op_dialect_vjp - cinn_op_dialect - add_broadcast_to_elementwise_pass - pir) + paddle_test(test_add_broadcast_to_elementwise SRCS + add_broadcast_to_elementwise_test.cc) - paddle_test( - test_sub_graph_extract - SRCS - sub_graph_extract_test.cc - DEPS - drr - pd_to_cinn_pass - cinn_op_dialect - op_dialect_vjp - pir_transforms - pir) + paddle_test(test_sub_graph_extract SRCS sub_graph_extract_test.cc DEPS + pir_transforms) paddle_test(test_ir_op_fusion SRCS ir_op_fusion_test.cc) - paddle_test( - test_pir_all_path - SRCS - pir_all_path_test.cc - DEPS - pir_transforms - cinn_op_dialect - pd_to_cinn_pass - add_broadcast_to_elementwise_pass) + paddle_test(test_pir_all_path SRCS pir_all_path_test.cc) - paddle_test( - test_group_op - SRCS - group_op_test.cc - DEPS - pd_to_cinn_pass - add_broadcast_to_elementwise_pass - cinn_op_dialect - pir_transforms) + paddle_test(test_group_op SRCS group_op_test.cc) - paddle_test( - dynamic_reshape_test - SRCS - dynamic_reshape_test.cc - DEPS - pd_to_cinn_pass - cinn_op_dialect - pir_transforms) + paddle_test(dynamic_reshape_test SRCS dynamic_reshape_test.cc) - paddle_test(test_pir_build_cinn_pass SRCS build_cinn_pass_test.cc DEPS - pir_transforms pir) + paddle_test(test_pir_build_cinn_pass SRCS build_cinn_pass_test.cc) - paddle_test(test_compilation_task SRCS compilation_task_test.cc DEPS pir) + paddle_test(test_compilation_task SRCS compilation_task_test.cc) # DO NOT forget add test name here, otherwise it will not be executed in # CINN CI.