Skip to content

Commit

Permalink
【CMake opt No.13】Remove CINN DEPS in test/cpp/pir/shape_dialect/CMake…
Browse files Browse the repository at this point in the history
…Lists.txt (#60517)

* Update CMakeLists.txt

* Apply suggestions from code review

* Apply suggestions from code review

* Update CMakeLists.txt

* Update CMakeLists.txt
  • Loading branch information
Liyulingyue authored Jan 3, 2024
1 parent ddd29d2 commit be8bc1e
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions test/cpp/pir/shape_dialect/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +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
DEPS
gtest
op_dialect_vjp
pir
pir_transforms)
paddle_test(shape_optimization_test SRCS shape_optimization_test.cc)
set_tests_properties(
shape_optimization_test PROPERTIES ENVIRONMENT
"FLAGS_enable_pir_in_executor=true")
Expand Down

0 comments on commit be8bc1e

Please sign in to comment.