From e5c687659df27cbd1c7ae395e7dda35a3f9d3051 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=98=A5=E4=B9=94?= <83450930+Liyulingyue@users.noreply.github.com> Date: Wed, 3 Jan 2024 07:07:07 +0800 Subject: [PATCH 1/5] Update CMakeLists.txt --- test/cpp/pir/shape_dialect/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/test/cpp/pir/shape_dialect/CMakeLists.txt b/test/cpp/pir/shape_dialect/CMakeLists.txt index 19e1f55dad763..62bd8edea34a1 100644 --- a/test/cpp/pir/shape_dialect/CMakeLists.txt +++ b/test/cpp/pir/shape_dialect/CMakeLists.txt @@ -12,7 +12,6 @@ if(WITH_CINN) DEPS gtest op_dialect_vjp - pir pir_transforms) set_tests_properties( shape_optimization_test PROPERTIES ENVIRONMENT From 1d7894c17acb5f3ffd576af8007f6f4aeab5ee06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=98=A5=E4=B9=94?= <83450930+Liyulingyue@users.noreply.github.com> Date: Wed, 3 Jan 2024 07:38:26 +0800 Subject: [PATCH 2/5] Apply suggestions from code review --- test/cpp/pir/shape_dialect/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/test/cpp/pir/shape_dialect/CMakeLists.txt b/test/cpp/pir/shape_dialect/CMakeLists.txt index 62bd8edea34a1..71c9595e8297a 100644 --- a/test/cpp/pir/shape_dialect/CMakeLists.txt +++ b/test/cpp/pir/shape_dialect/CMakeLists.txt @@ -10,7 +10,6 @@ if(WITH_CINN) SRCS shape_optimization_test.cc DEPS - gtest op_dialect_vjp pir_transforms) set_tests_properties( From dffe7be90ebc70dc68e8cb17e70bffb1d7b52957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=98=A5=E4=B9=94?= <83450930+Liyulingyue@users.noreply.github.com> Date: Wed, 3 Jan 2024 08:15:08 +0800 Subject: [PATCH 3/5] Apply suggestions from code review --- test/cpp/pir/shape_dialect/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/test/cpp/pir/shape_dialect/CMakeLists.txt b/test/cpp/pir/shape_dialect/CMakeLists.txt index 71c9595e8297a..0413d5011a53c 100644 --- a/test/cpp/pir/shape_dialect/CMakeLists.txt +++ b/test/cpp/pir/shape_dialect/CMakeLists.txt @@ -10,7 +10,6 @@ if(WITH_CINN) SRCS shape_optimization_test.cc DEPS - op_dialect_vjp pir_transforms) set_tests_properties( shape_optimization_test PROPERTIES ENVIRONMENT From a7ddb96bcc4c389a4230ddea7df9eced6216ae14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=98=A5=E4=B9=94?= <83450930+Liyulingyue@users.noreply.github.com> Date: Wed, 3 Jan 2024 10:55:39 +0800 Subject: [PATCH 4/5] Update CMakeLists.txt --- test/cpp/pir/shape_dialect/CMakeLists.txt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/cpp/pir/shape_dialect/CMakeLists.txt b/test/cpp/pir/shape_dialect/CMakeLists.txt index 0413d5011a53c..6e0a9177a7694 100644 --- a/test/cpp/pir/shape_dialect/CMakeLists.txt +++ b/test/cpp/pir/shape_dialect/CMakeLists.txt @@ -8,9 +8,7 @@ if(WITH_CINN) paddle_test( shape_optimization_test SRCS - shape_optimization_test.cc - DEPS - pir_transforms) + shape_optimization_test.cc) set_tests_properties( shape_optimization_test PROPERTIES ENVIRONMENT "FLAGS_enable_pir_in_executor=true") From 81d5b0b8c50b814510377cf47e749589a3b900c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=98=A5=E4=B9=94?= <83450930+Liyulingyue@users.noreply.github.com> Date: Wed, 3 Jan 2024 11:55:49 +0800 Subject: [PATCH 5/5] Update CMakeLists.txt --- test/cpp/pir/shape_dialect/CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/cpp/pir/shape_dialect/CMakeLists.txt b/test/cpp/pir/shape_dialect/CMakeLists.txt index 6e0a9177a7694..fc890d2f6b8c5 100644 --- a/test/cpp/pir/shape_dialect/CMakeLists.txt +++ b/test/cpp/pir/shape_dialect/CMakeLists.txt @@ -5,10 +5,7 @@ paddle_test(shape_struct_test SRCS shape_struct_test.cc) paddle_test(symbol_dim_expr_test SRCS symbol_dim_expr_test.cc) if(WITH_CINN) - paddle_test( - shape_optimization_test - SRCS - shape_optimization_test.cc) + paddle_test(shape_optimization_test SRCS shape_optimization_test.cc) set_tests_properties( shape_optimization_test PROPERTIES ENVIRONMENT "FLAGS_enable_pir_in_executor=true")