Skip to content

Commit

Permalink
【CMake opt No.12】rm some DEPS of test/cpp/pir/core/CMakeLists.txt (P…
Browse files Browse the repository at this point in the history
…addlePaddle#60161)

* rm DEPS

* add pir to ir_op_test

* - pir && + test_dialect

* add op_dialect_vjp to ir_op_test

* add pir 2 ir_*

* add op_dialect_vjp 2 type_test
  • Loading branch information
DrRyanHuang authored and HermitSun committed Dec 21, 2023
1 parent 71fbad8 commit 519e9af
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions test/cpp/pir/core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
paddle_test(type_test SRCS type_test.cc DEPS pir op_dialect_vjp)
paddle_test(ir_attribute_test SRCS ir_attribute_test.cc DEPS pir)
paddle_test(ir_value_test SRCS ir_value_test.cc DEPS pir)
paddle_test(
ir_op_test
SRCS
ir_op_test.cc
DEPS
pir
test_dialect
op_dialect_vjp)
paddle_test(ir_op_test SRCS ir_op_test.cc DEPS test_dialect op_dialect_vjp)
paddle_test(ir_region_test SRCS ir_region_test.cc DEPS pir)
paddle_test(ir_builder_test SRCS ir_builder_test.cc DEPS pir)
cc_test_old(
Expand Down Expand Up @@ -131,8 +124,7 @@ cc_test_old(
gtest
pir)

paddle_test(block_argument_test SRCS block_argument_test.cc DEPS test_dialect
pir)
paddle_test(block_argument_test SRCS block_argument_test.cc DEPS test_dialect)

if(WITH_ONNXRUNTIME AND WIN32)
# Copy onnxruntime for some c++ test in Windows, since the test will
Expand Down

0 comments on commit 519e9af

Please sign in to comment.