-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【CMake opt No.12】rm some DEPS of test/cpp/pir/core/CMakeLists.txt
#60161
Changes from all commits
39f4747
9d47954
10eee0d
cfbbf09
0a0ff14
7454f4d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. `ir_attribute_test` 需要 `pir`
由于
包含改目录下所有 cc 文件 |
||
paddle_test(ir_value_test SRCS ir_value_test.cc DEPS pir) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. `ir_value_test` 需要 `pir`
由于
包含改目录下所有 cc 文件 |
||
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) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. `ir_region_test` 需要 `pir`
由于
包含改目录下所有 cc 文件 |
||
paddle_test(ir_builder_test SRCS ir_builder_test.cc DEPS pir) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. `ir_builder_test` 需要 `pir`
由于
包含改目录下所有 cc 文件 |
||
cc_test_old( | ||
|
@@ -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) | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. `block_argument_test` 需要 `test_dialect`
|
||
if(WITH_ONNXRUNTIME AND WIN32) | ||
# Copy onnxruntime for some c++ test in Windows, since the test will | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`type_test` 需要 `pir`
由于
pir
的paddle/pir/CMakeLists.txt
中包含改目录下所有 cc 文件
`type_test` 需要 `op_dialect_vjp`
在 op_dialect.cc 文件中创建